diff options
Diffstat (limited to 'fvwm/.fvwm/config')
| -rw-r--r-- | fvwm/.fvwm/config | 63 |
1 files changed, 48 insertions, 15 deletions
diff --git a/fvwm/.fvwm/config b/fvwm/.fvwm/config index e57be02..185140f 100644 --- a/fvwm/.fvwm/config +++ b/fvwm/.fvwm/config @@ -31,6 +31,11 @@ # that FvwmConsole uses. Change this to your terminal of choice InfoStoreAdd terminal st +ImagePath +:$[FVWM_USERDIR]/icon/PixelFengShui +ImagePath +:$[FVWM_USERDIR]/icon/Yoritsuki + +read .sidebar.fvwm2rc + ########### # 1: Functions # @@ -58,6 +63,7 @@ AddToFunc StartFunction + I Test (Init) InitBackground + I Test (Init) Module FvwmBanner + I Module FvwmButtons LeftPanel ++ I Module FvwmButtons sidebar + I Module FvwmEvent EventNewDesk # Function to set background when fvwm starts @@ -187,14 +193,14 @@ DesktopSize 2x2 # # Set EdgeScroll 0 0 and/or EdgeResistance -1 to disable. EdgeScroll 100 100 -EdgeResistance 200 +EdgeResistance 300 EdgeThickness 1 Style * EdgeMoveDelay 350, EdgeMoveResistance 350 # EwmhBaseStruts [left] [right] [top] [bottom] # Reserves space along the edge(s) of the Screen that will not # be covered when maximizing or placing windows. -EwmhBaseStruts 0 120 0 0 +EwmhBaseStruts 120 0 0 0 # This sets the ClickTime and MoveThreshold used to determine # Double Clicks, Hold and Move for the mouse. @@ -243,6 +249,8 @@ Style LeftPanel !Title, !Borders, !Handles, Sticky, \ Style ConfirmQuit !Title, PositionPlacement Center, WindowListSkip, Layer 6 Style FvwmIdent WindowListSkip +## Program styles + ####### # 3: Colorsets # @@ -477,15 +485,11 @@ AddToMenu MenuFvwmManPages "Help" Title # Silent supresses any errors (such as keyboards with no Menu key). Silent Key F1 A M Menu MenuFvwmRoot Silent Key Menu A A Menu MenuFvwmRoot -Silent Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L +Silent Key Tab A M WindowList Root c c NoDeskSort, CurrentAtEnd, SelectOnRelease Meta_L Silent Key 1 A 4 GotoDesk 0 0 Silent Key 2 A 4 GotoDesk 0 1 Silent Key 3 A 4 GotoDesk 0 2 Silent Key 4 A 4 GotoDesk 0 3 -Silent Key Return A 4 Exec exec $[infostore.terminal] -Silent Key N A 4 Exec exec emacsclient -c - -Silent Key D A 4 Exec exec dmenu_run # page scrolling custom Mouse 9 R 4 Scroll 0 -100p @@ -493,6 +497,28 @@ Mouse 8 R 4 Scroll 0 100p Mouse 9 A 4 Scroll 0 -100p Mouse 8 A 4 Scroll 0 100p +#### Programs Keybinding +Silent Key Return A 4 Exec exec $[infostore.terminal] +Silent Key Return A 4 Exec exec $[infostore.terminal] +Silent Key E A 4 Exec exec emacs +Silent Key N A 4 Exec exec emacsclient -c +Silent Key F1 A 4 Exec exec firefox-bin +Silent Key F2 A 4 Exec exec emacs +Silent Key F3 A 4 Exec exec emacsclient -c -e '(bard/default-agenda)' +Silent Key D A 4 Exec exec dmenu_run + +# browser +Silent Key W A 4 Exec exec librewolf-bin +Silent Key W A 4S Exec exec firefox-bin + +# Script keybinds +Silent Key B A 4 Exec exec "$HOME/.local/bin/scripts/scratch.sh" +Silent Key N A 4S Exec exec "$HOME/.local/bin/scripts/dired_selector" +Silent Key M A 4S Exec exec "$HOME/.local/bin/scripts/wallpaper.sh" +Silent Key M A 4 Exec exec emacsclient -c -e '(emms)' +# screenshot +Silent Key Print A S Exec exec maim "$HOME/Pictures/screenshots/pic-full-$(date '+%y%m%d-%H%M-%S').png"; notify-send 'screenshot taken' +Silent Key Print A A Exec exec "$HOME/.local/bin/scripts/maimpick" # Window Buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2] # 1 - Open the WindowOps menu. @@ -528,11 +554,8 @@ Mouse 3 I A Menu MenuIconOps Silent Key Q A 4 Close # Resize window -Silent Key R A 4 Resize -Silent Key R A 4S Move - -# screenshot -Silent Key Print A A exec "$HOME/.local/bin/scripts/maimpick" +Silent Mouse 3 A 4 Resize +Silent Mouse 1 A 4 Move # alt+shift hjkl to tile left, bottom-right, top-right, full-right respectively Silent Key H A MS Tile 60 100 +0 +0 @@ -543,7 +566,7 @@ Silent Key K A MS Tile 40 60 -0 +0 # Super+C/F/J/H/K/L - center, maximize, move window, etc Silent Key C A 4 AnimatedMove 50-50w 50-50w Silent Key F A 4 Maximize toggle 100 100 -Silent Key H A 4 AnimatedMove +0 w0px +silent Key H A 4 AnimatedMove +0 w0px Silent Key L A 4 AnimatedMove -0 w0px Silent Key J A 4 AnimatedMove w0px -0 Silent Key K A 4 AnimatedMove w0px +0 @@ -568,7 +591,7 @@ Silent Key K A MC Maximize 0 growup # 4 - Maximize # 6 - Minimize ########### -TitleStyle Centered Height 18 -- Flat +TitleStyle Centered Height 20 -- Flat ButtonStyle All ActiveUp Vector 5 15x15@4 15x85@3 85x85@3 85x15@3 \ 15x15@3 -- Flat ButtonStyle All ToggledActiveUp Vector 5 15x15@4 15x85@3 85x85@3 \ @@ -640,7 +663,7 @@ DestroyModuleConfig LeftPanel:* *LeftPanel: Columns 120 *LeftPanel: Frame 0 *LeftPanel: Font "xft:Iosevka Comfy:Bold:size=12:antialias=True" -*LeftPanel: (120x45, Icon "fvwm-logo-small.png", Frame 0) +# *LeftPanel: (120x45, Icon "fvwm-logo-small.png", Frame 0) *LeftPanel: (120x5, Frame 0) *LeftPanel: (10x20, Frame 0) *LeftPanel: (25x20, Id desk0, Title "0", Action (Mouse 1) GotoDesk 0 0, Colorset 11, ActiveColorset 12, Frame 0) @@ -728,3 +751,13 @@ DestroyModuleConfig EventNewDesk:* # without needing a full copy of the default-config. This will also allow # default-config changes to get used after upgrades (if applicable). Test (f $[FVWM_USERDIR]/local.config) Read $[FVWM_USERDIR]/local.config + +DesktopConfiguration per-monitor +GotoDesk screen $[monitor.primary] 0 2 + +DestroyFunc SmartPrevPageFlipFocus +AddToFunc SmartPrevPageFlipFocus ++ I Prev (CurrentDesk,AcceptsFocus,!Iconic,Iconifiable) FuncFlipFocusWindow ++ I TestRc (Match) EchoPageNumberIfFull cyan + +Key Z A 4 SmartPrevPageFlipFocus
\ No newline at end of file |
