More changes to FVWM

This commit is contained in:
Anthony Rose 2022-09-21 21:23:51 +01:00
parent 8df97d84a8
commit 6241093f16

View file

@ -10,6 +10,8 @@ Emulate Mwm
MenuStyle * Mwm MenuStyle * Mwm
Style * MwmButtons Style * MwmButtons
Style * MwmBorder Style * MwmBorder
Style * MWMFunctions
Style * MWMDecor
# Set some default fonts: # Set some default fonts:
DefaultFont "xft:Sans:size=10" DefaultFont "xft:Sans:size=10"
@ -30,9 +32,8 @@ ColormapFocus FollowsFocus
# default Styles: # default Styles:
Style "*" BorderWidth 7, HandleWidth 7 Style "*" BorderWidth 7, HandleWidth 7
Style "*" Icon unknown1.xpm, Color #fefefe/DarkGrey Style "*" Icon xorg.xpm, Color #fefefe/DarkGrey
Style "*" MWMFunctions, MWMDecor, HintOverride Style "*" HintOverride, DecorateTransient, NoPPosition
Style "*" DecorateTransient, NoPPosition
Style "*" IconBox 0 -10 -280 -1 Style "*" IconBox 0 -10 -280 -1
Style "*" SloppyFocus Style "*" SloppyFocus
Style "*" RandomPlacement, SmartPlacement Style "*" RandomPlacement, SmartPlacement
@ -48,10 +49,9 @@ Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus
AddToDecor terms AddToDecor terms
+ ButtonStyle 1 Pixmap mini.xterm_32x32.xpm + ButtonStyle 1 Pixmap mini.xterm_32x32.xpm
+ HilightColor #fefefe CadetBlue + HilightColor #fefefe CadetBlue
Style "*" Icon xorg.xpm Style "XTerm" Icon mini.xterm_32x32.xpm, IconBox -70 1 -1 -140, UseDecor terms
Style "XTerm" Icon mini.xterm_32x32.xpm, SloppyFocus, IconBox -70 1 -1 -140, UseDecor terms Style "URxvt" Icon mini.xterm_32x32.xpm, IconBox -70 1 -1 -140, UseDecor terms
Style "URxvt" Icon mini.xterm_32x32.xpm, SloppyFocus, IconBox -70 1 -1 -140, MWMBorder, MWMButtons, UseDecor terms Style "mate-terminal" Icon mini.xterm_32x32.xpm, IconBox -70 1 -1 -140, UseDecor terms
Style "mate-terminal" Icon xterm-color_32x32.xpm, SloppyFocus, IconBox -70 1 -1 -140, UseDecor terms
# Styles for various common programs: # Styles for various common programs:
Style "xclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus Style "xclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus
@ -95,16 +95,14 @@ AddToFunc RestartFunction "I" Module FvwmPager 0 5
######################## Menus ################### ######################## Menus ###################
AddToMenu RootMenu "Root Menu" Title AddToMenu RootMenu "Root Menu" Title
+ "Terminal" Exec (mate-terminal || urxvt || xterm) + "Terminal" Exec (gnome-terminal || mate-terminal || urxvt || xterm)
+ "Terminal (dark)" Exec (urxvt -fg grey -bg black || xterm -fg grey -bg black) + "XTerm" Exec xterm
+ "" Nop + "" Nop
+ "Firefox" Exec firefox + "Firefox" Exec firefox
+ "GVIM" Exec gvim + "GVIM" Exec gvim
+ "LibreOffice" Exec libreoffice + "LibreOffice" Exec libreoffice
+ "Midnight Commander" Exec (urxvt -geometry 120x40 -e mc || xterm -geometry 120x40 -e mc) + "Midnight Commander" Exec (urxvt -geometry 120x24 -e mc || xterm -geometry 120x24 -e mc)
+ "URxvt" Exec (urxvt || rxvt)
+ "Vi" Exec (urxvt -e vi || xterm -e vi) + "Vi" Exec (urxvt -e vi || xterm -e vi)
+ "XTerm" Exec xterm
+ "" Nop + "" Nop
+ "Utilities" Popup Utilities + "Utilities" Popup Utilities
+ "" Nop + "" Nop