###
#  This file includes fvwm95 configuration for using with wm-icons.
#  Can work with the default fvwm95 configuration (untested).
#  Installing this file doesn't break your existing .fvwm95rc, just extends it.
#  You probably need to edit it if you have non-default configuration.
#
#  Instructions:
#    1) Install wm-icons (./configure & make install)
#    2) Copy this file to the home directory (add leading dot) and put a line:
#         Read .fvwm95rc-wm-icons
#       as the last line of your .fvwm95rc
#    3) (Re)Start fvwm95
#
#  The file is not perfect, it'll be better in the next versions.
#  Send your comments to migo@homemail.com.
###


# You can change this to the real path of wm-icons.
PixmapPath $HOME/@userdir@:@icondir@:/usr/local/icons:/usr/share/icons:/usr/share/icons/mini:/usr/local/mini-icons:/usr/X11R6/lib/X11/mini-icons:/usr/X11R6/include/X11/pixmaps:/opt/kde/share/icons


###
#  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/display.xpm%menu	@ICON_SET@" @ADJUST@Exec wm-icons-config -q -p -f menu @ICON_SET@
")}}
+ "" Nop
{{MINI_ICON_SET_ITERATOR("
+ "%menu/display.xpm%mini	@ICON_SET@" @ADJUST@Exec wm-icons-set-links -q -p -f mini @ICON_SET@
")}}
+ "" Nop
{{NORM_ICON_SET_ITERATOR("
+ "%menu/display.xpm%norm	@ICON_SET@" @ADJUST@Exec wm-icons-set-links -q -p -f norm @ICON_SET@
")}}
+ "" Nop
+ "%menu/wm-restart.xpm%Restart	to activate"     Restart fvwm95

# You can comment the following out or in.
Mouse 3 R SCM Menu MenuIconSets Nop
#AddToMenu "RootMenu" "&Icon Set%menu/desktop.xpm" Popup MenuIconSets
#AddToMenu "Modules" "&Icon Set%menu/desktop.xpm" Popup MenuIconSets

###
#  Window operations
###

#
# This one fully maximizes if you click (leaving room for the Gnome panel
# at the bottom), or does a full maximization if you double click, or a
# vertical maximization if you just hold the mouse button down.
#
DestroyFunc FuncMaximize
AddToFunc FuncMaximize
+ "M" Maximize 0 95
+ "C" Maximize 100 95
+ "D" Maximize 100 100

#
# This defines the most common window operations.
# It seems that Window-Ops is 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
+ "R&aise%menu/window-raise.xpm%"               Raise
+ "&Lower%menu/window-lower.xpm%"               Lower
+ "(De)Iconify%menu/window-iconify.xpm"         Iconify
+ "(Un)Maximize%menu/window-maximize.xpm"       Function FuncMaximize
+ "(Un)Shade%menu/window-shade.xpm"             WindowShade
+ "(Un)Stick%menu/window-stick.xpm"             Stick
+ "" 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/empty.xpm%"                WindowList
+ "Refresh Screen%menu/wm-refresh.xpm%"         Refresh
+ "Icon Set%menu/desktop.xpm%"                  Popup MenuIconSets

# 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 Fvwm95?" Title
+ "Restart%menu/wm-restart.xpm%"        Restart fvwm95
+ "Refresh Screen%menu/wm-refresh.xpm%" Refresh
+ "" Nop
+ "Start dummy%menu/xterm.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}}
