###
#  This file includes fvwm95 configuration for using with wm-icons.
#  Can work with the default fvwm95 configuration (untested).
#  Using this file doesn't break your existing .fvwm95rc, but 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 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/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 fvwm95

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

###
#  Window operations
###

#
# 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
+ "(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
+ "Refresh Screen%menu/refresh.xpm%"            Refresh
+ "Icon Set%menu/themes.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/restart.xpm%"             Restart fvwm95
+ "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}}
