.fvwm/config
branchfvwm
changeset 387 c3da331f67b9
parent 386 eab698c29a89
child 388 38c75446897a
equal deleted inserted replaced
386:eab698c29a89 387:c3da331f67b9
   264 Mouse 3 R A Menu FvwmWindowOpsMenu
   264 Mouse 3 R A Menu FvwmWindowOpsMenu
   265 
   265 
   266 # ##########
   266 # ##########
   267 # FvwmPager.
   267 # FvwmPager.
   268 # ##########
   268 # ##########
   269 Style "FvwmPager" NoTitle, Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \
   269 
   270   CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
   270 # No any button on pager.
       
   271 Style "FvwmPager" !Button 1, !Button 3, !Button 5, \
       
   272          Handles, Borders, BorderWidth 5, Sticky, WindowListSkip, \
       
   273          CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable
   271 
   274 
   272 SetEnv FvwmPager_Inactive rgb:c0/c0/c0
   275 SetEnv FvwmPager_Inactive rgb:c0/c0/c0
   273 SetEnv FvwmPager_Active rgb:ef/df/bdc
   276 SetEnv FvwmPager_Active rgb:ef/df/bdc
   274 
   277 
   275 DestroyModuleConfig FvwmPager: *
   278 DestroyModuleConfig FvwmPager: *
   285 *FvwmPager: MiniIcons
   288 *FvwmPager: MiniIcons
   286 *FvwmPager: UseSkipList
   289 *FvwmPager: UseSkipList
   287 *FvwmPager: Rows 3
   290 *FvwmPager: Rows 3
   288 *FvwmPager: Columns 1
   291 *FvwmPager: Columns 1
   289 
   292 
       
   293 # #########
       
   294 # FvwmAuto.
       
   295 # #########
       
   296 
       
   297 # The autohiding functions.
       
   298 # From http://fvwm.org/documentation/faq/#toc_7.17
       
   299 # See question "Autohiding FvwmButtons or other windows".
       
   300 AddToFunc autohide
       
   301 + I ThisWindow ($0) Deschedule $[w.id]
       
   302 + I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off
       
   303 + I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2
       
   304 
       
   305 AddToFunc autohide_hide
       
   306 + I Schedule $0 $[w.id] WindowShade $1
       
   307 + I Schedule $0 $[w.id] Deschedule $[w.id]
       
   308 
       
   309 # Add the windows you want to autohide
       
   310 AddToFunc enter_handler
       
   311 + I autohide FvwmPager 500 N
       
   312 
   290 ####################
   313 ####################
   291 # Startup functions.
   314 # Startup functions.
   292 ####################
   315 ####################
   293 
   316 
   294 # Define whare place autoloaded progs.
   317 # Define whare place autoloaded progs.
   307 
   330 
   308 # First and after all restart.
   331 # First and after all restart.
   309 # All fvwm modules exit after restart fvwm, so you must put they there.
   332 # All fvwm modules exit after restart fvwm, so you must put they there.
   310 AddToFunc StartFunction
   333 AddToFunc StartFunction
   311 + I Module FvwmPager 0 2
   334 + I Module FvwmPager 0 2
       
   335 + I Module FvwmAuto 1 -menter enter_handler
   312 # Add next to load desktop image (must be .xpm or .png)
   336 # Add next to load desktop image (must be .xpm or .png)
   313 # + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png
   337 # + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png