summaryrefslogtreecommitdiff
path: root/devel/template/fvwm2rc-wm-icons
blob: f8a71080c3ad986e182e9cebca217e48addb5d07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
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}}