aboutsummaryrefslogtreecommitdiff
path: root/fvwm/.fvwm
diff options
context:
space:
mode:
Diffstat (limited to 'fvwm/.fvwm')
-rw-r--r--fvwm/.fvwm/config112
1 files changed, 72 insertions, 40 deletions
diff --git a/fvwm/.fvwm/config b/fvwm/.fvwm/config
index d7f598d..18e6114 100644
--- a/fvwm/.fvwm/config
+++ b/fvwm/.fvwm/config
@@ -33,11 +33,11 @@ InfoStoreAdd terminal st
ImagePath +:$[FVWM_USERDIR]/icon/PixelFengShui
ImagePath +:$[FVWM_USERDIR]/icon/Yoritsuki
+ImagePath +:$[FVWM_USERDIR]/icon/Yoritsuki/24
read .sidebar.fvwm2rc
SetEnv fvwmscript $[HOME]/.fvwm/fvwmscript/
-SetEnv scripts $[HOME]/.fvwm/scripts
###########
# 1: Functions
@@ -206,7 +206,7 @@ MoveThreshold 3
Style * SloppyFocus, MouseFocusClickRaises
# Default Font
-DefaultFont "xft:Iosevka Comfy Duo:size=12:antialias=True"
+DefaultFont "xft:Iosevka Comfy:size=12:antialias=True"
# Window Placement
Style * MinOverlapPlacement, GrabFocusOff, !UsePPosition
@@ -235,16 +235,18 @@ Style * BorderColorset 3, HilightBorderColorset 4
# Disable Icons from appearing on desktop.
# Comment this out or use Style * Icon to get the icons back.
Style * Icon
-Style * IconBox 64x300-0+0
+Style * IconBox 990x150-20-10, IconGrid 234 134, IconFill right bottom
# Window Specific Styles
Style LeftPanel !Title, !Borders, !Handles, Sticky, \
- WindowListSkip, NeverFocus
+ WindowListSkip, NeverFocus, StaysOnTop
Style conky !Title, !Borders, !Handles, Sticky, \
WindowListSkip, NeverFocus
Style ConfirmQuit !Title, PositionPlacement Center, WindowListSkip, Layer 6
Style FvwmIdent WindowListSkip
+Style st FPGrabFocus
+# Style * !Title
## Program styles
#######
@@ -272,22 +274,34 @@ Style FvwmIdent WindowListSkip
# 13 - FvwmPager Active Page
# 14 - FvwmIconMan Iconified Button
###########
+
+#### Tao Yang FVWM Colorsets
+Colorset 0 fg #FCFCFC, bg #171717, hi, sh, Plain, NoShape
+Colorset 1 fg #171717, bg #2d2d2d, hi, sh, Plain, NoShape
+Colorset 2 fg #FCFCFC, bg #171717, hi, sh, Plain, NoShape
+Colorset 3 fg #171717, bg #606060, hi #606060, sh #606060, Plain, NoShape
+Colorset 4 fg #171717, bg #9E9E9E, hi #9E9E9E, sh #9E9E9E, Plain, NoShape
+Colorset 5 fg #FCFCFC, bg #171717, hi, sh, Plain, NoShape
+Colorset 6 fg #171717, bg #C3C3C3, hi, sh, Plain, NoShape
+Colorset 7 fg red, bg #FCFCFC, hi, sh, Plain, NoShape
+Colorset 8 fg #FCFCFC, bg #171717, hi, sh, Plain, NoShape
+Colorset 10 fg #FCFCFC, bg #171717, hi, sh, Plain, NoShape
+Colorset 11 fg #FCFCFC, bg #616161, hi #FCFCFC, sh #FCFCFC, Plain, NoShape
+Colorset 12 fg #FCFCFC, bg #C3C3C3, hi, sh, Plain, NoShape
+Colorset 13 fg #FCFCFC, bg #989898, hi, sh, Plain, NoShape
+Colorset 14 fg #FCFCFC, bg red, hi #aaaaaa, sh #999999, Plain, NoShape
+
+#### Modus Vivendi
Colorset 0 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
Colorset 1 fg #000000, bg #2d2d2d, hi, sh, Plain, NoShape
Colorset 2 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
-# DONE
Colorset 3 fg #000000, bg #606060, hi #606060, sh #606060, Plain, NoShape
-# DONE
Colorset 4 fg #000000, bg #959595, hi #959595, sh #959595, Plain, NoShape
-# DONE
Colorset 5 fg #000000, bg #ffffff, hi, sh, Plain, NoShape
Colorset 6 fg #ffffff, bg #45605e, hi, sh, Plain, NoShape
Colorset 7 fg red, bg #ffffff, hi, sh, Plain, NoShape
-# DONE
Colorset 8 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
-# DONE
Colorset 10 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
-# DONE
Colorset 11 fg #ffffff, bg #535353, hi #ffffff, sh #ffffff, Plain, NoShape
Colorset 12 fg #ffffff, bg #45605e, hi, sh, Plain, NoShape
Colorset 13 fg #ffffff, bg #989898, hi, sh, Plain, NoShape
@@ -300,22 +314,22 @@ MenuStyle * MenuColorset 5, ActiveColorset 6, GreyedColorset 7, TitleColorset 8
MenuStyle * Hilight3DOff, HilightBack, HilightTitleBack, SeparatorsLong
MenuStyle * TrianglesSolid, TrianglesUseFore
# MenuStyle * ItemFormat "%|%3.1i%5.3l%5.3>%|"
-MenuStyle * Font "xft:Iosevka Comfy Duo:Italic:size=14:antialias=True"
+MenuStyle * Font "xft:Iosevka Comfy:Italic:size=14:antialias=True"
# Root Menu
#
# The root menu will PopUp with a click in the root
# window or using alt-f1 (or menu).
DestroyMenu MenuFvwmRoot
-AddToMenu MenuFvwmRoot "Fvwm" Title
-+ "&Programs%Kanban (sign).png%" Popup MenuPrograms
-+ "&Terminal%Yunomi (tea cup).png%" Exec exec $[infostore.terminal]
+AddToMenu MenuFvwmRoot "Fvwm Menu" Title
++ "&Programs%Kanban (sign)-24x24.png%" Popup MenuPrograms
++ "&Terminal%Yunomi (tea cup)-24x24.png%" Exec exec $[infostore.terminal]
+ "" Nop
-+ "&Wallpapers%Folder2.png%" Exec exec $HOME/.local/bin/scripts/wallpaper.sh
++ "&Wallpapers%Folder2-24x24.png%" Popup MenuWallpaper
+ "" Nop
-+ "Re&fresh%Futon (bed).png%" Refresh
-+ "&Restart%Futon (bed).png%" Restart
-+ "&Quit%Futon (bed).png%" Exec exec loginctl poweroff
++ "Re&fresh%Futon (bed)-24x24.png%" Refresh
++ "&Restart%Futon (bed)-24x24.png%" Restart
++ "&Quit%Futon (bed)-24x24.png%" Module FvwmScript FvwmScript-ConfirmQuit
# Programs Menu
#
@@ -334,6 +348,11 @@ Test (x emacs) + "Emacs" Exec exec emacsclient -c -a 'emacs'
Test (x gimp) + "Gimp" Exec exec gimp
Test (x vlc) + "VLC" Exec exec vlc
+DestroyMenu MenuWallpaper
+AddToMenu MenuWallpaper "Wallpaper" Title
++ "Choose wallpaper" Exec exec $HOME/.local/bin/scripts/wallpaper.sh
++ "Repaint wallpaper" Exec exec $HOME/.cache/wallpaper
+
# Background Menu
#
# Backgrounds are located in ~/.fvwm/images/background/
@@ -343,7 +362,7 @@ AddToMenu BGMenu "Wallpapers" Title
# Window Operations Menus
DestroyMenu MenuWindowOps
-AddToMenu MenuWindowOps
+AddToMenu MenuWindowOps "Window Operations" Title
+ "Move" Move
+ "Resize" Resize
+ "Iconify" Iconify
@@ -355,7 +374,7 @@ AddToMenu MenuWindowOps
+ "More..." Menu MenuWindowOpsLong This 0 0
DestroyMenu MenuWindowOpsLong
-AddToMenu MenuWindowOpsLong
+AddToMenu MenuWindowOpsLong "Window Operations" Title
+ "Move" Move
+ "Resize" Resize
+ "(De)Iconify" Iconify
@@ -472,9 +491,17 @@ AddToMenu MenuFvwmManPages "Help" Title
# Super_R (windows key) will launch a terminal.
#
# Silent supresses any errors (such as keyboards with no Menu key).
+CursorStyle ROOT left_ptr
+CursorStyle TITLE left_ptr
+CursorStyle DEFAULT left_ptr
+CursorStyle SYS left_ptr
+CursorStyle MENU left_ptr
+CursorStyle WAIT left_ptr
+
Silent Key F1 A M Menu MenuFvwmRoot
Silent Key Space A 4 Menu MenuFvwmRoot
-Silent Key Tab A M WindowList Root c c CurrentDesk, NoDeskSort, CurrentAtEnd, SelectOnRelease Meta_L
+Silent Key Space A 4S Menu MenuWindowOpsLong
+Silent Key Tab A M WindowList Root c c NoSticky, NoGeometry, NoDeskSort, CurrentAtEnd, SelectOnRelease Meta_L
Silent Key F1 A 4 GotoDesk 0 0
Silent Key F2 A 4 GotoDesk 0 1
Silent Key F3 A 4 GotoDesk 0 2
@@ -523,17 +550,22 @@ Silent Key W A 4S Exec exec firefox-bin
Silent Key XF86AudioMute A A Exec exec pactl set-sink-mute @DEFAULT_SINK@ toggle
Silent Key XF86AudioRaiseVolume A A Exec exec pactl set-sink-volume @DEFAULT_SINK@ +10%
Silent Key XF86AudioLowerVolume A A Exec exec pactl set-sink-volume @DEFAULT_SINK@ -10%
-Silent Key XF86AudioMicMute A A Exec exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
+Silent Key XF86AudioMicMute A A Exec exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
+Silent Key XF86AudioPrev A A Exec exec playerctl prev
+Silent Key XF86AudioNext A A Exec exec playerctl next
+Silent Key XF86AudioPause A A Exec exec playerctl pause
Silent Key P A 4 Exec exec playerctl pause
+Silent Key XF86AudioPlay A A Exec exec playerctl play
+
+## brightness
+Silent Key XF86MonBrightnessUp A A Exec exec xbacklight -inc 10
+Silent Key XF86MonBrightnessDown A A Exec exec xbacklight -dec 10
#### 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)'
-Silent Key Quote A 4 Exec exec emacsclient -c -e '(calc)'
# 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]
@@ -582,7 +614,7 @@ Silent Key Up A 4S Tile 40 60 -0 +0
Silent Key Down A 4S Tile 40 40 -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 C A 4S AnimatedMove 50-50w 50-50w
Silent Key F A 4 Maximize toggle 100 100
Silent Key F A 4S Iconify
silent Key H A 4 AnimatedMove +0 w0px
@@ -685,15 +717,15 @@ DestroyModuleConfig LeftPanel:*
*LeftPanel: Font "xft:Iosevka Comfy:Bold:size=12:antialias=True"
# *LeftPanel: (120x45, Icon "fvwm-logo-small.png", Frame 0)
*LeftPanel: (120x5, Frame 0)
-*LeftPanel: (10x20, Frame 0)
-*LeftPanel: (25x20, Id desk0, Title "I", Action (Mouse 1) GotoDesk 0 0, Colorset 11, ActiveColorset 12, Frame 0)
-*LeftPanel: (25x20, Id desk1, Title "II", Action (Mouse 1) GotoDesk 0 1, ActiveColorset 12, Frame 0)
-*LeftPanel: (25x20, Id desk2, Title "III", Action (Mouse 1) GotoDesk 0 2, ActiveColorset 12, Frame 0)
-*LeftPanel: (25x20, Id desk3, Title "IV", Action (Mouse 1) GotoDesk 0 3, ActiveColorset 12, Frame 0)
-*LeftPanel: (10x20, Frame 0)
-*LeftPanel: (5x60, Frame 0)
-*LeftPanel: (110x60, Swallow FvwmPager 'Module FvwmPager *', Frame 0)
-*LeftPanel: (5x60, Frame 0)
+*LeftPanel: (10x10, Frame 0)
+*LeftPanel: (25x10, Id desk0, Title "I", Action (Mouse 1) GotoDesk 0 0, Colorset 11, ActiveColorset 12, Frame 0)
+*LeftPanel: (25x10, Id desk1, Title "II", Action (Mouse 1) GotoDesk 0 1, ActiveColorset 12, Frame 0)
+*LeftPanel: (25x10, Id desk2, Title "III", Action (Mouse 1) GotoDesk 0 2, ActiveColorset 12, Frame 0)
+*LeftPanel: (25x10, Id desk3, Title "IV", Action (Mouse 1) GotoDesk 0 3, ActiveColorset 12, Frame 0)
+*LeftPanel: (10x10, Frame 0)
+*LeftPanel: (5x50, Frame 0)
+*LeftPanel: (110x50, Swallow FvwmPager 'Module FvwmPager *', Frame 0)
+*LeftPanel: (5x50, Frame 0)
*LeftPanel: (120x5, Frame 0)
# Test (x stalonetray) *LeftPanel: (120x20, Swallow(NoClose,UseOld) \
@@ -714,7 +746,7 @@ DestroyModuleConfig LeftPanel:*
Icon Bonsai.png, \
ActiveTitle "Files", \
Action (Mouse 1) Exec exec emacsclient -c -e "(dired \"~/\")" -a 'emacs', \
- Action (Mouse 3) Exec exec "$HOME/.local/bin/scripts/dired_selector" )
+ Action (Mouse 3) Exec exec pcmanfm )
*LeftPanel: ( 120x30, Frame 1, Colorset 8, PressColorset 9, \
ActiveTitle "Term", \
@@ -752,7 +784,7 @@ DestroyModuleConfig LeftPanel:*
*LeftPanel: (120x30, Swallow DateTime 'Module FvwmScript fvwmscript/FvwmScript-DateTime',\
Frame 0)
-*LeftPanel: (120x10, Swallow ACPIStatus 'Module FvwmScript fvwmscript/FvwmScript-ACPIStatus',\
+*LeftPanel: (120x12, Swallow ACPIStatus 'Module FvwmScript fvwmscript/FvwmScript-ACPIStatus',\
Frame 0)
*LeftPanel: (120x5, Frame 0)
@@ -767,10 +799,10 @@ DestroyModuleConfig FvwmPager:*
*FvwmPager: WindowColorsets 10 11
*FvwmPager: Font None
*FvwmPager: Balloons All
-*FvwmPager: BalloonFont "xft:Iosevka Comfy Duo:Italic:size=14:antialias=True"
+*FvwmPager: BalloonFont "xft:Iosevka Comfy:Italic:size=14:antialias=True"
*FvwmPager: BallonYOffset +2
*FvwmPager: Window3dBorders
-*FvwmPager: MiniIcons
+# *FvwmPager: MiniIcons
# FvwmIconMan
#
@@ -789,7 +821,7 @@ DestroyModuleConfig FvwmIconMan:*
*FvwmIconMan: DrawIcons always
*FvwmIconMan: ReliefThickness 0
*FvwmIconMan: Format "%t"
-*FvwmIconMan: Font "xft:Iosevka Comfy Duo:size=14:antialias=True"
+*FvwmIconMan: Font "xft:Iosevka Comfy:size=14:antialias=True"
*FvwmIconMan: Action Mouse 0 A ret
*FvwmIconMan: Action Mouse 1 A sendcommand IconManClick
*FvwmIconMan: Action Mouse 3 A sendcommand "Menu MenuIconOps"