.fvwm/config
changeset 493 82ee1eb00277
parent 492 3afe78030216
child 494 6f3882ab9918
equal deleted inserted replaced
492:3afe78030216 493:82ee1eb00277
   385 # #########
   385 # #########
   386 
   386 
   387 # The autohiding functions.
   387 # The autohiding functions.
   388 # From http://fvwm.org/documentation/faq/#toc_7.17
   388 # From http://fvwm.org/documentation/faq/#toc_7.17
   389 # See question "Autohiding FvwmButtons or other windows".
   389 # See question "Autohiding FvwmButtons or other windows".
       
   390 DestroyFunc autohide
   390 AddToFunc autohide
   391 AddToFunc autohide
   391 + I ThisWindow ($0) Deschedule $[w.id]
   392 + I ThisWindow ($0) Deschedule $[w.id]
   392 + I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off
   393 + I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off
   393 + I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2
   394 + I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2
   394 
   395 
       
   396 DestroyFunc autohide_hide
   395 AddToFunc autohide_hide
   397 AddToFunc autohide_hide
   396 + I Schedule $0 $[w.id] WindowShade $1
   398 + I Schedule $0 $[w.id] WindowShade $1
   397 + I Schedule $0 $[w.id] Deschedule $[w.id]
   399 + I Schedule $0 $[w.id] Deschedule $[w.id]
   398 
   400 
   399 # Add the windows you want to autohide
   401 # Add the windows you want to autohide
       
   402 DestroyFunc enter_handler
   400 AddToFunc enter_handler
   403 AddToFunc enter_handler
   401 + I autohide FvwmPager 1000 N
   404 + I autohide FvwmPager 1000 N
   402 
   405 
   403 ####################
   406 ####################
   404 # Startup functions.
   407 # Startup functions.
   409 Style "mc-main1"  StartsOnPage 0 1 0, SkipMapping
   412 Style "mc-main1"  StartsOnPage 0 1 0, SkipMapping
   410 Style "mc-main2"  StartsOnPage 0 2 0, SkipMapping
   413 Style "mc-main2"  StartsOnPage 0 2 0, SkipMapping
   411 Style "goldendict"        StartsOnPage 3 1 2, SkipMapping
   414 Style "goldendict"        StartsOnPage 3 1 2, SkipMapping
   412 Style "XClock"  !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip
   415 Style "XClock"  !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip
   413 
   416 
   414 # Only once.
   417 # Run only om sturtup.
       
   418 DestroyFunc InitFunction
   415 AddToFunc InitFunction
   419 AddToFunc InitFunction
   416 + I Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
   420 + I Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
   417                -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x"
   421                -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x"
   418 + I Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
   422 + I Exec  exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \
   419                -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x"
   423                -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x"
   420 + I Exec  exec goldendict
   424 + I Exec  exec goldendict
   421 # Right offset: 80 from FvwmPager + 2*6 from border = 92.
   425 # Right offset: 80 from FvwmPager + 2*6 from border = 92.
   422 + I Exec  exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray
   426 + I Exec  exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray
   423 
   427 
   424 # After all restart.
   428 # Run after each restart.
   425 # AddToFunc RestartFunction
   429 DestroyFunc RestartFunction
   426 # + I Exec  exec update-menus
   430 AddToFunc RestartFunction
   427 
   431 
   428 # First and after all restart.
   432 # Run at sturtup and after each restart.
   429 # All fvwm modules exit after restart fvwm, so you must put they there.
   433 # All fvwm modules exit after restart Fvwm, so you must put they there.
       
   434 DestroyFunc StartFunction
   430 AddToFunc StartFunction
   435 AddToFunc StartFunction
   431 # + I Module FvwmDebug --xconsole
   436 # + I Module FvwmDebug --xconsole
   432 # + I KillModule FvwmDebug
   437 # + I KillModule FvwmDebug
   433 # + I Module FvwmGtkDebug
   438 # + I Module FvwmGtkDebug
   434 # + I Module FvwmConsole
   439 # + I Module FvwmConsole