-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjwmrc
187 lines (148 loc) · 5.7 KB
/
jwmrc
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0"?>
<JWM>
<!-- The root menu, if this is undefined you will not get a menu. -->
<!-- Additional RootMenu attributes: onroot, labeled, label -->
<RootMenu height="15" onroot="12">
<!--
<Menu icon="devices/media-cdrom-audio.png" label="Stepmania">
<Program label="Stepmania" icon="mimetypes/gnome-mime-audio.png">/usr/StepMania</Program>
<Program icon="places/folder.png" label="SM Files">pcmanfm .stepmania-5.0</Program>
</Menu>
-->
<Separator/>
<Program icon="apps/firefox.png" label="firefox">firefox</Program>
<Program icon="apps/terminal.png" label="terminator">terminator</Program>
<Program icon="places/folder.png" label="pcmanfm">pcmanfm</Program>
<Program icon="places/folder.png" label="rox-filer">rox-filer -n</Program>
<Separator/>
<Menu icon="actions/go-next.png" label="apps">
<Program icon="apps/firefox.png" label="links2">links2 -g</Program>
<Program icon="apps/terminal.png" label="zsnes">zsnes</Program>
</Menu>
<Separator/>
<!-- <Include>/etc/jwm/debian-menu</Include> -->
<Restart label="Restart jwm" icon="restart.png"/>
<Separator/>
<Menu icon="actions/application-exit.png" label="Shutdown options">
<Exit label="Switch User" confirm="true" icon="quit.png"/>
<Program label="Restart">sudo urxvt -e '/sbin/reboot'</Program>
<Program label="Shutdown">sudo urxvt -e '/sbin/poweroff'</Program>
</Menu>
</RootMenu>
<!-- Additional tray attributes: autohide, width, border, layer, layout -->
<Tray x="0" y="-1" height="32" autohide="false">
<!-- Additional TrayButton attribute: label -->
<TrayButton popup="Start Menu" label="Start">root:1</TrayButton>
<TrayButton popup="Show Desktop" icon="places/desktop.png">showdesktop</TrayButton>
<TrayButton popup="Run Dialogue" icon="actions/search.png">exec: gmrun</TrayButton>
<TrayButton popup="Terminal" icon="apps/terminal.png">exec: urxvt</TrayButton>
<TrayButton popup="File Manager" icon="places/folder.png">exec: rox-filer -n</TrayButton>
<TrayButton popup="Notepad" icon="apps/text-editor.png">exec: leafpad</TrayButton>
<TrayButton popup="Firefox" icon="apps/firefox.png">exec: firefox</TrayButton>
<!-- Additional Pager attribute: labeled -->
<Pager labeled="true"/>
<TaskList maxwidth="256"/>
<Dock/>
<!-- Additional Swallow attribute: height -->
<Swallow name="xload" width="64">
xload -nolabel -bg black -fg red -hl white
</Swallow>
<Clock format="%H:%M">xclock</Clock>
</Tray>
<!-- evil cyan glow -->
<WindowStyle>
<Font antialias="false">smoothansi</Font>
<Width>4</Width>
<Height>20</Height>
<Active>
<Text>cyan</Text>
<Title>darkcyan:grey13</Title>
<Outline>cyan</Outline>
</Active>
<Inactive>
<Text>grey44</Text>
<Title>grey20:grey0</Title>
<Outline>darkcyan</Outline>
</Inactive>
</WindowStyle>
<TaskListStyle>
<Font antialias="false">smoothansi</Font>
<ActiveForeground>cyan</ActiveForeground>
<ActiveBackground>darkcyan:grey13</ActiveBackground>
<Foreground>grey44</Foreground>
<Background>grey20:grey0</Background>
</TaskListStyle>
<!-- Additional TrayStyle attribute: insert -->
<TrayStyle>
<Font antialias="false">smoothansi</Font>
<Background>grey13</Background>
<Foreground>cyan</Foreground>
</TrayStyle>
<PagerStyle>
<Outline>grey66</Outline>
<Foreground>grey44</Foreground>
<Background>grey22</Background>
<ActiveForeground>darkcyan</ActiveForeground>
<ActiveBackground>grey44</ActiveBackground>
</PagerStyle>
<MenuStyle>
<Font antialias="false">smoothansi</Font>
<Foreground>white</Foreground>
<Background>grey0</Background>
<ActiveForeground>cyan</ActiveForeground>
<ActiveBackground>darkcyan:grey13</ActiveBackground>
</MenuStyle>
<PopupStyle>
<Font antialias="false">smoothansi</Font>
<Outline>grey22</Outline>
<Foreground>grey0</Foreground>
<Background>cyan</Background>
</PopupStyle>
<IconPath>
/usr/share/icons/nuoveXT2/32x32/
</IconPath>
<!-- Virtual Desktops -->
<!-- Desktop tags can be contained within Desktops for desktop names. -->
<Desktops width="2" height="1">
<!-- Default background. Note that a Background tag can be
contained within a Desktop tag to give a specific background
for that desktop.
-->
<Background type="command">nitrogen --restore</Background>
</Desktops>
<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>
<!-- Double click delta (in pixels) -->
<DoubleClickDelta>2</DoubleClickDelta>
<!-- The focus model (sloppy or click) -->
<FocusModel>sloppy</FocusModel>
<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">border</SnapMode>
<!-- The move mode (outline or opaque) -->
<MoveMode>opaque</MoveMode>
<!-- The resize mode (outline or opaque) -->
<ResizeMode>opaque</ResizeMode>
<StartupCommand>xset r rate 250 50</StartupCommand>
<StartupCommand>nitrogen --restore</StartupCommand>
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root:1</Key>
<Key mask="A" key="F2">window</Key>
<Key mask="A" key="F10">maximize</Key>
<Key mask="A" key="Right">rdesktop</Key>
<Key mask="A" key="Left">ldesktop</Key>
<Key mask="A" key="Up">udesktop</Key>
<Key mask="A" key="Down">ddesktop</Key>
</JWM>