]> Dogcows Code - chaz/openbox/blob - data/rc.xml.in
this is not so nice
[chaz/openbox] / data / rc.xml.in
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- Do not edit this file, it will be overwritten on install.
4 Copy the file to $HOME/.config/openbox/ instead. -->
5
6 <openbox_config xmlns="http://openbox.org/"
7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8 xsi:schemaLocation="http://openbox.org/
9 file://@xsddir@/rc.xsd">
10
11 <resistance>
12 <strength>10</strength>
13 <screen_edge_strength>20</screen_edge_strength>
14 </resistance>
15
16 <focus>
17 <focusNew>yes</focusNew>
18 <followMouse>no</followMouse>
19 <focusLast>no</focusLast>
20 <focusDelay>0</focusDelay>
21 <raiseOnFocus>no</raiseOnFocus>
22 </focus>
23
24 <theme>
25 <name>TheBear</name>
26 <titlelayout>NLIMC</titlelayout>
27 </theme>
28
29 <placement>
30 <policy>Smart</policy>
31 </placement>
32
33 <desktops>
34 <number>4</number>
35 <firstdesk>1</firstdesk>
36 <names>
37 <name>one</name>
38 <name>two</name>
39 <name>three</name>
40 <name>four</name>
41 </names>
42 </desktops>
43
44 <resize>
45 <drawContents>yes</drawContents>
46 </resize>
47
48 <dock>
49 <position>TopLeft</position>
50 <stacking>Top</stacking>
51 <direction>Vertical</direction>
52 <floatingX>0</floatingX>
53 <floatingY>0</floatingY>
54 <autoHide>no</autoHide>
55 <hideDelay>300</hideDelay>
56 <moveButton>A-Left</moveButton>
57 </dock>
58
59 <keyboard>
60 <chainQuitKey>C-g</chainQuitKey>
61
62 <keybind key="A-F10">
63 <action name="MaximizeFull"/>
64 </keybind>
65 <keybind key="A-F5">
66 <action name="UnmaximizeFull"/>
67 </keybind>
68 <keybind key="A-F12">
69 <action name="ToggleShade"/>
70 </keybind>
71 <keybind key="C-A-Left">
72 <action name="DesktopLeft"><wrap>no</wrap></action>
73 </keybind>
74 <keybind key="C-A-Right">
75 <action name="DesktopRight"><wrap>no</wrap></action>
76 </keybind>
77 <keybind key="C-A-Up">
78 <action name="DesktopUp"><wrap>no</wrap></action>
79 </keybind>
80 <keybind key="C-A-Down">
81 <action name="DesktopDown"><wrap>no</wrap></action>
82 </keybind>
83 <keybind key="S-A-Left">
84 <action name="SendToDesktopLeft"><wrap>no</wrap></action>
85 </keybind>
86 <keybind key="S-A-Right">
87 <action name="SendToDesktopRight"><wrap>no</wrap></action>
88 </keybind>
89 <keybind key="S-A-Up">
90 <action name="SendToDesktopUp"><wrap>no</wrap></action>
91 </keybind>
92 <keybind key="S-A-Down">
93 <action name="SendToDesktopDown"><wrap>no</wrap></action>
94 </keybind>
95 <keybind key="C-A-d">
96 <action name="ToggleShowDesktop"/>
97 </keybind>
98 <keybind key="A-F4">
99 <action name="Close"/>
100 </keybind>
101 <keybind key="A-Tab">
102 <action name="NextWindow"/>
103 </keybind>
104 <keybind key="A-S-Tab">
105 <action name="PreviousWindow"/>
106 </keybind>
107 <keybind key="A-F7">
108 <action name="Move"/>
109 </keybind>
110 <keybind key="A-F8">
111 <action name="Resize"/>
112 </keybind>
113 <keybind key="A-F9">
114 <action name="Iconify"/>
115 </keybind>
116 <keybind key="A-space">
117 <action name="ShowMenu"><menu>client-menu</menu></action>
118 </keybind>
119 </keyboard>
120
121 <mouse>
122 <dragThreshold>3</dragThreshold>
123 <doubleClickTime>200</doubleClickTime>
124
125 <context name="Frame">
126 <mousebind button="A-Left" action="Drag">
127 <action name="Move"/>
128 </mousebind>
129 <mousebind button="A-Left" action="Click">
130 <action name="Raise"/>
131 </mousebind>
132 <mousebind button="A-Left" action="Press">
133 <action name="Focus"/>
134 </mousebind>
135 <mousebind button="A-Middle" action="Drag">
136 <action name="Resize"/>
137 </mousebind>
138 <mousebind button="A-Middle" action="Click">
139 <action name="Lower"/>
140 </mousebind>
141 <mousebind button="A-Right" action="Press">
142 <action name="ShowMenu"><menu>client-menu</menu></action>
143 </mousebind>
144 <mousebind button="A-Up" action="Click">
145 <action name="DesktopPrevious"/>
146 </mousebind>
147 <mousebind button="A-Down" action="Click">
148 <action name="DesktopNext"/>
149 </mousebind>
150 <mousebind button="C-A-Up" action="Click">
151 <action name="SendToDesktopPrevious"/>
152 </mousebind>
153 <mousebind button="C-A-Down" action="Click">
154 <action name="SendToDesktopNext"/>
155 </mousebind>
156 </context>
157 <context name="Titlebar">
158 <mousebind button="Left" action="Drag">
159 <action name="Move"/>
160 </mousebind>
161 <mousebind button="Left" action="Click">
162 <action name="Raise"/>
163 </mousebind>
164 <mousebind button="Left" action="Press">
165 <action name="Focus"/>
166 </mousebind>
167 <mousebind button="Left" action="DoubleClick">
168 <action name="ToggleShade"/>
169 </mousebind>
170 <mousebind button="Middle" action="Press">
171 <action name="Lower"/>
172 </mousebind>
173 <mousebind button="Up" action="Click">
174 <action name="Shade"/>
175 </mousebind>
176 <mousebind button="Down" action="Click">
177 <action name="Unshade"/>
178 </mousebind>
179 <mousebind button="Right" action="Press">
180 <action name="ShowMenu"><menu>client-menu</menu></action>
181 </mousebind>
182 </context>
183 <context name="Handle">
184 <mousebind button="Left" action="Drag">
185 <action name="Move"/>
186 </mousebind>
187 <mousebind button="Left" action="Click">
188 <action name="Raise"/>
189 </mousebind>
190 <mousebind button="Left" action="Press">
191 <action name="Focus"/>
192 </mousebind>
193 <mousebind button="Middle" action="Press">
194 <action name="Lower"/>
195 </mousebind>
196 </context>
197 <context name="BLCorner">
198 <mousebind button="Left" action="Drag">
199 <action name="Resize"/>
200 </mousebind>
201 <mousebind button="Left" action="Press">
202 <action name="Focus"/>
203 </mousebind>
204 </context>
205 <context name="BRCorner">
206 <mousebind button="Left" action="Drag">
207 <action name="Resize"/>
208 </mousebind>
209 <mousebind button="Left" action="Press">
210 <action name="Focus"/>
211 </mousebind>
212 </context>
213 <context name="TLCorner">
214 <mousebind button="Left" action="Drag">
215 <action name="Resize"/>
216 </mousebind>
217 <mousebind button="Left" action="Press">
218 <action name="Focus"/>
219 </mousebind>
220 </context>
221 <context name="TRCorner">
222 <mousebind button="Left" action="Drag">
223 <action name="Resize"/>
224 </mousebind>
225 <mousebind button="Left" action="Press">
226 <action name="Focus"/>
227 </mousebind>
228 </context>
229 <context name="Client">
230 <mousebind button="Left" action="Press">
231 <action name="Focus"/>
232 <action name="Raise"/>
233 </mousebind>
234 <mousebind button="Middle" action="Press">
235 <action name="Focus"/>
236 </mousebind>
237 <mousebind button="Right" action="Press">
238 <action name="Focus"/>
239 </mousebind>
240 </context>
241 <context name="Icon">
242 <mousebind button="Left" action="Press">
243 <action name="Focus"/>
244 </mousebind>
245 <mousebind button="Right" action="Press">
246 <action name="ShowMenu"><menu>client-menu</menu></action>
247 </mousebind>
248 <mousebind button="Left" action="Press">
249 <action name="ShowMenu"><menu>client-menu</menu></action>
250 </mousebind>
251 </context>
252 <context name="AllDesktops">
253 <mousebind button="Left" action="Press">
254 <action name="Focus"/>
255 </mousebind>
256 <mousebind button="Left" action="Click">
257 <action name="ToggleOmnipresent"/>
258 </mousebind>
259 </context>
260 <context name="Shade">
261 <mousebind button="Left" action="Press">
262 <action name="Focus"/>
263 </mousebind>
264 <mousebind button="Left" action="Click">
265 <action name="ToggleShade"/>
266 </mousebind>
267 </context>
268 <context name="Iconify">
269 <mousebind button="Left" action="Press">
270 <action name="Focus"/>
271 </mousebind>
272 <mousebind button="Left" action="Click">
273 <action name="Iconify"/>
274 </mousebind>
275 </context>
276 <context name="Maximize">
277 <mousebind button="Left" action="Press">
278 <action name="Focus"/>
279 </mousebind>
280 <mousebind button="Middle" action="Press">
281 <action name="Focus"/>
282 </mousebind>
283 <mousebind button="Right" action="Press">
284 <action name="Focus"/>
285 </mousebind>
286 <mousebind button="Left" action="Click">
287 <action name="ToggleMaximizeFull"/>
288 </mousebind>
289 <mousebind button="Middle" action="Click">
290 <action name="ToggleMaximizeVert"/>
291 </mousebind>
292 <mousebind button="Right" action="Click">
293 <action name="ToggleMaximizeHorz"/>
294 </mousebind>
295 </context>
296 <context name="Close">
297 <mousebind button="Left" action="Press">
298 <action name="Focus"/>
299 </mousebind>
300 <mousebind button="Left" action="Click">
301 <action name="Close"/>
302 </mousebind>
303 </context>
304 <context name="Desktop">
305 <mousebind button="Up" action="Press">
306 <action name="DesktopPrevious"/>
307 </mousebind>
308 <mousebind button="Down" action="Press">
309 <action name="DesktopNext"/>
310 </mousebind>
311 <mousebind button="A-Up" action="Press">
312 <action name="DesktopPrevious"/>
313 </mousebind>
314 <mousebind button="A-Down" action="Press">
315 <action name="DesktopNext"/>
316 </mousebind>
317 <mousebind button="Left" action="Press">
318 <action name="Focus"/>
319 <action name="Raise"/>
320 </mousebind>
321 <mousebind button="Middle" action="Press">
322 <action name="ShowMenu"><menu>client-list-menu</menu></action>
323 </mousebind>
324 <mousebind button="Right" action="Press">
325 <action name="ShowMenu"><menu>root-menu</menu></action>
326 </mousebind>
327 </context>
328 <context name="MoveResize">
329 <mousebind button="Up" action="Press">
330 <action name="DesktopPrevious"/>
331 </mousebind>
332 <mousebind button="Down" action="Press">
333 <action name="DesktopNext"/>
334 </mousebind>
335 <mousebind button="A-Up" action="Press">
336 <action name="DesktopPrevious"/>
337 </mousebind>
338 <mousebind button="A-Down" action="Press">
339 <action name="DesktopNext"/>
340 </mousebind>
341 </context>
342 </mouse>
343
344 <menu>
345 <!-- You can specify more than one menu file in here and they are all loaded,
346 just don't make menu ids clash or, well, it'll be kind of pointless -->
347
348 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
349 <file>menu.xml</file>
350 </menu>
351
352 </openbox_config>
This page took 0.053156 seconds and 4 git commands to generate.