# Test function. You shouldn't be seeing this. DestroyFunc TestScrotFunc AddToFunc TestScrotFunc + I ThisWindow import -window # 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 + I Exec $[infostore.compositor] -c + I Exec /usr/bin/env xssstart $[infostore.locker] + I Exec $[infostore.notifs] + I Exec $[infostore.posix]/batman + I Module FvwmCommandS # Spawn modules and whatnot. DestroyFunc ModuleFunc AddToFunc ModuleFunc + I Module FvwmEvent AudioEvents # + I Module FvwmButtons TaskBar # + I Schedule 5 Module FvwmIconMan TaskBarButtons + 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. # Currently a WIP. DestroyFunc LargeifyFunc AddToFunc LargeifyFunc + I Maximize # A simple function to set the wallpaper. DestroyFunc PaperBoy AddToFunc PaperBoy + I InfoStoreAdd pape $[FVWM_USERDIR]/../fxde-data/prefs/cosmetics/pape + I Exec $[infostore.posix]/paperboy $[infostore.papedir]/`cat $[infostore.pape]`