summaryrefslogtreecommitdiff
path: root/devel/template/fvwm2rc-wm-icons
diff options
context:
space:
mode:
Diffstat (limited to 'devel/template/fvwm2rc-wm-icons')
-rw-r--r--devel/template/fvwm2rc-wm-icons117
1 files changed, 117 insertions, 0 deletions
diff --git a/devel/template/fvwm2rc-wm-icons b/devel/template/fvwm2rc-wm-icons
new file mode 100644
index 0000000..f8a7108
--- /dev/null
+++ b/devel/template/fvwm2rc-wm-icons
@@ -0,0 +1,117 @@
+###
+# This file includes fvwm configuration for using with wm-icons.
+# Optimized for the default fvwm-2.4.x configuration.
+# Using this file doesn't break your existing fvwm config, just extends it.
+# You probably need to edit it if you have a non-default configuration.
+#
+# Instructions:
+# 1) Install wm-icons (configure && make install)
+# 2) Copy this file to ~/.fvwm directory and put:
+# Read fvwm2rc-wm-icons
+# somewhere in your fvwm config
+# 3) (Re)Start fvwm
+#
+# The file is not perfect, it'll be better in the next versions.
+# Send your comments to migo@homemail.com.
+###
+
+
+ImagePath $HOME/@userdir@:@icondir@:+
+
+# You can comment this in to get title-icon for any window a-la fvwm95.
+#ButtonStyle 1 MiniIcon
+#TitleStyle Height 19
+
+
+###
+# Change Icon Set submenu
+###
+
+#
+# This defines the submenu for changing icon set online.
+# wm-icons-config must be in your path or put full path in Exec below.
+#
+
+DestroyMenu MenuIconSets
+AddToMenu MenuIconSets "Change Icon Set" Title
+{{MINI_ICON_SET_ITERATOR("
++ "%menu/item.xpm%menu @ICON_SET@" @ADJUST@Exec wm-icons-config -q -p -f menu @ICON_SET@
+")}}
++ "" Nop
+{{MINI_ICON_SET_ITERATOR("
++ "%menu/item.xpm%mini @ICON_SET@" @ADJUST@Exec wm-icons-config -q -p -f mini @ICON_SET@
+")}}
++ "" Nop
+{{NORM_ICON_SET_ITERATOR("
++ "%menu/item.xpm%norm @ICON_SET@" @ADJUST@Exec wm-icons-config -q -p -f norm @ICON_SET@
+")}}
++ "" Nop
+{{SIZE_ICON_SET_ITERATOR("16x16", "
++ "%menu/item.xpm%16x16 @ICON_SET@" @ADJUST@Exec wm-icons-config -q -p -f 16x16 @ICON_SET@
+")}}
++ "" Nop
++ "%menu/restart.xpm%Restart to activate" Restart
+
+# You can comment the following out or in.
+Mouse 3 R CM Menu MenuIconSets Nop
+#Style Eterm* IconOverride
+Style * IconOverride
+AddToMenu "MenuFvwmRoot" "&Icon Set%menu/themes.xpm" Popup MenuIconSets
+
+
+###
+# Window operations
+###
+
+#
+# This defines the most common window operations.
+# Window-Ops historically was a most common name for this menu.
+#
+DestroyMenu "Window-Ops"
+AddToMenu "Window-Ops" "Window Ops" Title
++ "&Move%menu/window-move.xpm%" Move
++ "&Resize%menu/window-resize.xpm" Resize
++ "(De)Iconify%menu/window-iconify.xpm" Iconify
++ "(Un)Maximize%menu/window-maximize.xpm" Maximize
++ "(Un)Shade%menu/window-shade.xpm" WindowShade
++ "(Un)Stick%menu/window-stick.xpm" Stick
++ "R&aise%menu/window-raise.xpm%" Raise
++ "&Lower%menu/window-lower.xpm%" Lower
++ "" Nop
++ "&Delete%menu/window-delete.xpm%" Delete # may be commented out
++ "&Close%menu/window-close.xpm%" Close
++ "Destroy%menu/window-destroy.xpm%" Destroy
++ "" Nop
++ "Identify%menu/window-identify.xpm%" Module FvwmIdent
++ "Switch to...%menu/windows.xpm%" WindowList
++ "Arrange Icons%menu/refresh.xpm%" All (CurrentDesk Iconic) RecaptureWindow
++ "Refresh Screen%menu/refresh.xpm%" Refresh
++ "Icon Set%menu/themes.xpm%" Popup MenuIconSets item +97 c
+
+# You can comment the following in if not bound yet.
+#Mouse 3 R A Menu "Window-Ops" Nop
+
+
+###
+# Quit submenu
+###
+
+#
+# This defines (overrides) quit menu.
+#
+DestroyMenu "Quit-Verify"
+AddToMenu "Quit-Verify" "Really Quit Fvwm?" Title
++ "Restart%menu/restart.xpm%" Restart
++ "Refresh Screen%menu/refresh.xpm%" Refresh
++ "" Nop
++ "Start dummy%menu/terminal.xpm%" Restart xterm
++ "" Nop
++ "Yes, Really Quit%menu/choice-yes.xpm%" Quit
++ "No, Don't Quit%menu/choice-no.xpm%" Nop
+
+
+###
+# Known applications
+###
+
+{{STYLE_ICONS}}