fxde-core/infra/funcrc

76 lines
2.0 KiB
Plaintext
Raw Normal View History

2021-03-06 12:17:27 -05:00
# Test function. You shouldn't be seeing this.
DestroyFunc TestScrotFunc
AddToFunc TestScrotFunc
+ I Exec exec $[infostore.posix]/hunter -g
# Load and restore preferences.
DestroyFunc PrefFunc
AddToFunc PrefFunc
+ I Read $[FVWM_USERDIR]/.data/prefrc
+ I Function PaperBoy $[infostore.papedir]/$[infostore.pape]
# Start daemons.
DestroyFunc DaemonFunc
AddToFunc DaemonFunc
2021-03-23 23:39:03 -04:00
+ I Exec exec $[infostore.compositor] -c
2021-03-06 12:17:27 -05:00
+ I Exec exec /usr/bin/xssstart $[infostore.locker]
+ I Exec exec $[infostore.notifs]
+ I Exec exec $[infostore.posix]/batman
2021-03-23 23:39:03 -04:00
+ I Module FvwmCommandS
2021-03-06 12:17:27 -05:00
# Spawn modules and whatnot.
AddToFunc ModuleFunc
+ I Module FvwmEvent AudioEvents
+ I Module FvwmButtons TaskBar
+ I Schedule 5 Module FvwmButtons Shelf
+ I Schedule 10 Module FvwmPager ShelfPager
# Define how to handle task switching.
DestroyFunc TaskSwitchFunc
AddToFunc TaskSwitchFunc
+ I Iconify off
+ I Focus
+ I Raise
+ I WarpToWindow !raise 5 5
# Define the "Show Desktop" feature
DestroyFunc ShowDeskFunc
AddToFunc ShowDeskFunc
+ I All (CurrentDesk, Iconic, State 1) HideDeskFunc
+ I TestRc (Match) Break
+ I All (CurrentDesk, !Iconic, !State 1) ThisWindow State 1 True
+ I All (CurrentDesk, !Iconic, State 1) Iconify
DestroyFunc HideDeskFunc
AddToFunc HideDeskFunc
+ I All (CurrentDesk, Iconic, State 1) Iconify off
+ I All (CurrentDesk, State1) ThisWindow State 1 False
# Remove widgets and set window dimensions to the size of the screen minus the
# UI elements. This simulates "full screen" without covering stuff.
DestroyFunc LargeifyFunc
AddToFunc LargeifyFunc
+ I PipeRead ""
# A simple function to set the wallpaper.
DestroyFunc PaperBoy
AddToFunc PaperBoy
2021-03-07 13:36:53 -05:00
+ I InfoStoreAdd pape $[FVWM_USERDIR]/.data/prefs/cosmetics/pape
2021-03-06 12:17:27 -05:00
+ I Exec exec $[infostore.posix]/paperboy $[infostore.papedir]/`cat $[infostore.pape]`