# .fvwm2rc # General ClickTime 750 OpaqueMoveSize 100 SetEnv StepSize 10 # for resizing EwmhBaseStruts 0 0 12 0 # screen borders DefaultFont "xft:Lucida Sans:pixelsize=10" DesktopSize 1x1 # Colors CleanupColorsets Colorset 1 fg #bbbbbb, bg #888888 # Inactive windows Colorset 2 fg black, bg #bbbbbb # Active windows Colorset 3 fg #4b4b4b, bg #bbbbbb # Inactive menu entry and menu background Colorset 4 fg black, bg #888888 # Active menu entry Colorset 6 fg grey70, Transparent # Pager # Style MenuStyle * Hilight3DThick, MenuColorset 3, HilightBack $[bg.cs4], ActiveFore $[fg.cs4] BorderStyle -- NoInset # Hack to make the handles bigger. TitleStyle LeftJustified Height 20 Style * BorderWidth 8, HandleWidth 4, IconTitleRelief 1, !Title Style * Colorset 1, HilightColorset 2 Style * DecorateTransient, ResizeOpaque Style * !Icon Style * SloppyFocus, PositionPlacement UnderMouse, SnapAttraction 4 All Screen Style * FPClickIconToFocus, FPLenient Style menu Sticky, WindowListSkip, !Iconifiable Style Rmix Sticky, WindowListSkip, !Iconifiable Style xlbiff Sticky, WindowListSkip, !Iconifiable, !Borders Style *lock Sticky, WindowListSkip, ClickToFocus, !Iconifiable DestroyFunc UrgencyFunc # Mouse Mouse 1 R A Menu MenuFvwmRoot Exec urxvt -name paper Mouse 2 R A GotoDesk prev Mouse 3 R A WindowList Mouse 1 FTSW 4 Move-or-Raise Mouse 1 FTSW S Move-or-Raise Mouse 2 FTSW 4 Resize-or-Raise Mouse 3 FTSW 4 Lower Mouse 3 A M WindowList Mouse 3 S A Menu MenuFvwmWindow Nop Mouse 1 - A Iconify-on-Doubleclick-or-Raise-or-Resize DestroyFunc Iconify-on-Doubleclick-or-Raise-or-Resize AddToFunc Iconify-on-Doubleclick-or-Raise-or-Resize + D Iconify + I Raise + M Resize AddToFunc Move-or-Raise + I Raise + M Move AddToFunc Resize-or-Raise + I Raise + M Resize warptoborder automatic # Keyboard Key h A 4 Move w-$[StepSize]p keep Key j A 4 Move keep w+$[StepSize]p Key k A 4 Move keep w-$[StepSize]p Key l A 4 Move w+$[StepSize]p keep Key h A S4 Resize w-$[StepSize]p keep Key j A S4 Resize keep w+$[StepSize]p Key k A S4 Resize keep w-$[StepSize]p Key l A S4 Resize w+$[StepSize]p keep Key Escape A 4 Close Key Return A 4 Exec urxvt -name paper #Key Tab A M WindowList CurrentDesk "Prev WindowListFunc" Key Tab A M SwitchWindow Key Left A 4 GotoDesk -1 0 8 Key Right A 4 GotoDesk +1 0 8 Key Up A 4 Raise Key Down A 4 Lower AddToFunc FocusRaiseAndStuff + I Iconify off + I Focus + I Raise + I WarpToWindow 50 50 SetEnv DIR Next AddToFunc SwitchWindow + I $[DIR] (CurrentPage, !Iconic, !Sticky) FocusRaiseAndStuff + I Deschedule 134000 + I PipeRead '[ "$[DIR]" == "Prev" ] && echo SetEnv NDIR Next || echo SetEnv NDIR Prev' + I Schedule 500 134000 SetEnv DIR $[NDIR] Key c A 4 Iconify Key f A 4 Stick Key i A 4 Module FvwmIdent Key q A S4 Quit Key r A 4 Restart Key x A 4 FullScreenToggle Key y A 4 VertScreenToggle Key z A 4 VertScreenToggle Key t A 4 TopToggle Key s A 4 Stick Key 1 A 4 GotoDesk 0 0 Key 2 A 4 GotoDesk 0 1 Key 3 A 4 GotoDesk 0 2 Key 4 A 4 GotoDesk 0 3 Key 5 A 4 GotoDesk 0 4 Key 6 A 4 GotoDesk 0 5 Key 7 A 4 GotoDesk 0 6 Key 8 A 4 GotoDesk 0 7 Key 9 A 4 GotoDesk 0 8 Key 1 A S4 Silent MoveToDesk 0 0 Key 2 A S4 Silent MoveToDesk 0 1 Key 3 A S4 Silent MoveToDesk 0 2 Key 4 A S4 Silent MoveToDesk 0 3 Key 5 A S4 Silent MoveToDesk 0 4 Key 6 A S4 Silent MoveToDesk 0 5 Key 7 A S4 Silent MoveToDesk 0 6 Key 8 A S4 Silent MoveToDesk 0 7 Key 9 A S4 Silent MoveToDesk 0 8 DestroyFunc FullScreenToggle AddToFunc FullScreenToggle + I ThisWindow (Maximized) FullScreenOff + I TestRc (Match) Break + I WindowStyle !Borders, ResizeHintOverride + I UpdateStyles + I Maximize on 100 100 DestroyFunc VertScreenToggle AddToFunc VertScreenToggle + I ThisWindow (Maximized) FullScreenOff + I TestRc (!Match) Maximize on 0 100 DestroyFunc FullScreenOff AddToFunc FullScreenOff + I WindowStyle Borders, !ResizeHintOverride + I UpdateStyles + I Maximize off DestroyFunc TopToggle AddToFunc TopToggle + I ThisWindow (Layer 4) Layer 0 6 + I TestRc ThisWindow (Layer 6) Layer 0 4 + I TestRc (Match) Raise DestroyFunc SSH AddToFunc SSH + I Exec urxvt -name paper -e tmux new -t0 ';' new-window -n $0 'ssh $0' DestroyFunc SSH2 AddToFunc SSH2 + I Exec urxvt -name paper -e tmux new -t0 ';' new-window -n $1 'ssh $0' # Menus DestroyMenu MenuFvwmRoot AddToMenu MenuFvwmRoot + "urxvt" Exec urxvt -name paper -fn fixed -g 80x50 + "urxvt 80x24" Exec urxvt -name paper + "@hund" SSH hund + "@vuxu" SSH vuxu.org + "@kali" SSH2 kali.home.vuxu.org kali + "@tinkerbell" SSH2 tinkerbell.home.vuxu.org tinkerbell + "@huygens" SSH huygens + "" Nop + "restart" Restart + "lock" Exec xscreensaver-command --lock + "xkill" Exec xkill + "exit" Popup MenuFvwmQuitVerify DestroyMenu MenuFvwmQuitVerify AddToMenu MenuFvwmQuitVerify "Really Quit Fvwm?" Title + "Yes, Really Quit" Quit + "" Nop + "Restart" Restart + "" Nop + "Start twm" Restart twm + "Start wmaker" Restart wmaker + "Start cwm" Restart cwm + "" Nop + "Just an Xterm" Restart xterm -n '"X Console"' -T '"X Console"' + "" Nop + "No, Don't Quit" Nop DestroyMenu MenuFvwmWindow AddToMenu MenuFvwmWindow + "Iconify" Iconify + "Maximize" FullScreenToggle + "Close" Close + "" Nop + "1" Silent MoveToDesk 0 0 + "2" Silent MoveToDesk 0 1 + "3" Silent MoveToDesk 0 2 + "4" Silent MoveToDesk 0 3 + "5" Silent MoveToDesk 0 4 + "6" Silent MoveToDesk 0 5 + "7" Silent MoveToDesk 0 6 + "8" Silent MoveToDesk 0 7 + "9" Silent MoveToDesk 0 8 DestroyModuleConfig FvwmIconMan:* Module FvwmIconMan Style FvwmIconMan Sticky, !Borders, !Iconifiable, WindowListSkip *FvwmIconMan: NumManagers 1 *FvwmIconMan: Resolution global *FvwmIconMan: ButtonGeometry 100x0 *FvwmIconMan: ManagerGeometry 1x0-0-0 *FvwmIconMan: FocusAndSelectColorset 4 *FvwmIconMan: Colorset 3 *FvwmIconMan: ReliefThickness 4 *FvwmIconMan: Font "xft:Lucida Sans:pixelsize=10" *FvwmIconMan: ShowOnlyIcons true *FvwmIconMan: Shape true *FvwmIconMan: Action Mouse 1 N sendcommand DeIconify-and-Move *FvwmIconMan: Action Mouse 3 N sendcommand DeIconify-and-Warp *FvwmIconMan: Format "%i" DestroyFunc DeIconify-and-Warp AddToFunc DeIconify-and-Warp + I Iconify off + I FlipFocus DestroyFunc DeIconify-and-Move AddToFunc DeIconify-and-Move + I MoveToDesk + I Iconify off + I FlipFocus + I Raise + I WarpToWindow 50 50 DestroyModuleConfig FvwmPager:* Module FvwmPager 0 8 Style FvwmPager Sticky, BorderWidth 0, !Handles, !Iconifiable, WindowListSkip Style FvwmPager FixedSize, FixedPosition, ParentalRelativity, Layer 5 *FvwmPager: Geometry 48x48-6+12 *FvwmPager: Font none *FvwmPager: Rows 3 *FvwmPager: Columns 3 *FvwmPager: Colorset * 6