Improve fvwm config

This commit is contained in:
Anthony Rose 2024-03-14 21:01:19 +00:00
parent dc44a383c2
commit 7317136f99
2 changed files with 42 additions and 24 deletions

View file

@ -8,6 +8,7 @@ XClock*secondColor: red
XClock*update: 1 XClock*update: 1
Xft.hintstyle: hintfull Xft.hintstyle: hintfull
Xft.rgba: none Xft.rgba: none
xterm*activeIcon: false
xterm*background: #2e3436 xterm*background: #2e3436
xterm*color0: #1e1e1e xterm*color0: #1e1e1e
xterm*color1: #cc0000 xterm*color1: #cc0000

View file

@ -7,11 +7,21 @@ Colorset 2 fg white, bg #5f009f009f00
Colorset 3 fg black, bg #c000c000c000 Colorset 3 fg black, bg #c000c000c000
Colorset 4 fg white, bg #5f009f009f00 Colorset 4 fg white, bg #5f009f009f00
Style "*" IconSize 48 48 Style "*" IconBox +0 +0 -0 -0, IconFill left bottom
Style "*" MwmButtons Style "*" IconSize 64 64
Style "*" MwmBorder Style "*" Icon xorg.xpm
Style "*" MWMFunctions Style "*" IconBackgroundColorset 1
Style "*" MWMDecor Style "*" ClickToFocus
Style "*" ResizeHintOverride
Style "xconsole" NoIcon
Style "FvwmPager" NoTitle, Sticky, WindowListSkip
Style "FvwmPager" CirculateSkipIcon, CirculateSkip
Style "FvwmPager" StaysOnTop
*FvwmPagerFont "xft:Sans:size=8"
*FvwmPagerGeometry 180x30-0-0
*FvwmPagerSmallFont 5x8
*FvwmPagerBack #101010
*FvwmPagerFore #404040
# Set some default fonts: # Set some default fonts:
DefaultFont "xft:Sans:size=10" DefaultFont "xft:Sans:size=10"
@ -68,20 +78,36 @@ Style * Colorset 1, HilightColorset 2, \
AddToMenu RootMenu "Root Menu" Title AddToMenu RootMenu "Root Menu" Title
+ "Terminal" Exec exec xterm + "Terminal" Exec exec xterm
+ "" Nop + "" Nop
+ "Firefox" Exec exec firefox + "Applications" Popup Applications
+ "LibreOffice" Exec exec libreoffice
+ "Midnight Commander" Exec exec xterm -geometry 120x24 -e mc
+ "Vi" Exec exec xterm -e vi
+ "VNC Viewer" Exec exec vncviewer
+ "" Nop
+ "Utilities" Popup Utilities + "Utilities" Popup Utilities
+ "" Nop + "" Nop
+ "Refresh Screen" Refresh + "Refresh Screen" Refresh
+ "Recapture Screen" Recapture + "Recapture Screen" Recapture
+ "(Re)Start" Popup Quit-Verify
+ "" Nop + "" Nop
+ "Lock" Exec exec xlock -mode blank -dpmsoff 5
+ "(Re)Start" Popup Quit-Verify
+ "Exit" Module FvwmForm QuitVerify + "Exit" Module FvwmForm QuitVerify
AddToMenu Applications "Applications" Title
+ "Midnight Commander" Exec exec xterm -geometry 120x40 -e mc
+ "Firefox" Exec exec firefox
+ "KeePassXC" Exec exec keepassxc
+ "Vi" Exec exec xterm -e vi
+ "VNC Viewer" Exec exec vncviewer
AddToMenu Utilities "Utilities" Title
+ "Top" Exec exec xterm -T Top -n Top -e top
+ "Calculator" Exec exec xcalc
+ "Clock (analog)" Exec exec xclock -update 1
+ "Clock (digital)" Exec exec xclock -update 1 -digital -strftime '%a %Y-%m-%dT%H:%M:%S%z' -bg '#101010' -fg '#c0c0c0'
+ "Xman" Exec exec xman
+ "Xmag" Exec exec xmag
+ "Editres" Exec exec editres
+ "" Nop
+ "Compositor (xcompmgr)" Exec exec xcompmgr -c
+ "" Nop
+ "Reset X defaults" Exec exec xrdb -load $HOME/.Xresources
AddToMenu Window-Ops "Window Ops" Title AddToMenu Window-Ops "Window Ops" Title
+ "Move" Move + "Move" Move
+ "Resize" Resize + "Resize" Resize
@ -123,18 +149,9 @@ AddToFunc Move-or-Iconify "I" Raise
+ "M" Move + "M" Move
+ "D" Iconify + "D" Iconify
Style "FvwmPager" NoTitle, Sticky, WindowListSkip AddToFunc StartFunction "I" Module FvwmPager 0 5
Style "FvwmPager" CirculateSkipIcon, CirculateSkip + "I" Exec exec xrdb -load ~/.Xresources
Style "FvwmPager" StaysOnTop + "I" Exec exec xsetroot -solid '#101010'
*FvwmPagerFont "xft:Sans:Medium:size=8"
*FvwmPagerGeometry 180x30-0-0
*FvwmPagerSmallFont 5x8
AddToFunc InitFunction "I" Module FvwmPager 0 5
+ "I" exec xsetroot -solid '#101010'
AddToFunc RestartFunction "I" Module FvwmPager 0 5
+ "I" exec xsetroot -solid '#101010'
# FvwmForm alias - query exit à la mwm # FvwmForm alias - query exit à la mwm
*QuitVerifyGrabServer *QuitVerifyGrabServer