My personal dotfiles
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

rc.xml 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Do not edit this file, it will be overwritten on install.
  3. Copy the file to $HOME/.config/openbox/ instead. -->
  4. <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
  5. <resistance>
  6. <strength>10</strength>
  7. <screen_edge_strength>20</screen_edge_strength>
  8. </resistance>
  9. <focus>
  10. <focusNew>yes</focusNew>
  11. <!-- always try to focus new windows when they appear. other rules do
  12. apply -->
  13. <followMouse>no</followMouse>
  14. <!-- move focus to a window when you move the mouse into it -->
  15. <focusLast>yes</focusLast>
  16. <!-- focus the last used window when changing desktops, instead of the one
  17. under the mouse pointer. when followMouse is enabled -->
  18. <underMouse>no</underMouse>
  19. <!-- move focus under the mouse, even when the mouse is not moving -->
  20. <focusDelay>200</focusDelay>
  21. <!-- when followMouse is enabled, the mouse must be inside the window for
  22. this many milliseconds (1000 = 1 sec) before moving focus to it -->
  23. <raiseOnFocus>no</raiseOnFocus>
  24. <!-- when followMouse is enabled, and a window is given focus by moving the
  25. mouse into it, also raise the window -->
  26. </focus>
  27. <placement>
  28. <policy>Smart</policy>
  29. <!-- 'Smart' or 'UnderMouse' -->
  30. <center>yes</center>
  31. <!-- whether to place windows in the center of the free area found or
  32. the top left corner -->
  33. <monitor>Primary</monitor>
  34. <!-- with Smart placement on a multi-monitor system, try to place new windows
  35. on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
  36. the active window is, 'Primary' - only on the primary monitor -->
  37. <primaryMonitor>1</primaryMonitor>
  38. <!-- The monitor where Openbox should place popup dialogs such as the
  39. focus cycling popup, or the desktop switch popup. It can be an index
  40. from 1, specifying a particular monitor. Or it can be one of the
  41. following: 'Mouse' - where the mouse is, or
  42. 'Active' - where the active window is -->
  43. </placement>
  44. <theme>
  45. <name>Clearlooks</name>
  46. <titleLayout>NLIMC</titleLayout>
  47. <!--
  48. available characters are NDSLIMC, each can occur at most once.
  49. N: window icon
  50. L: window label (AKA title).
  51. I: iconify
  52. M: maximize
  53. C: close
  54. S: shade (roll up/down)
  55. D: omnipresent (on all desktops).
  56. -->
  57. <keepBorder>yes</keepBorder>
  58. <animateIconify>yes</animateIconify>
  59. <font place="ActiveWindow">
  60. <name>sans</name>
  61. <size>8</size>
  62. <!-- font size in points -->
  63. <weight>bold</weight>
  64. <!-- 'bold' or 'normal' -->
  65. <slant>normal</slant>
  66. <!-- 'italic' or 'normal' -->
  67. </font>
  68. <font place="InactiveWindow">
  69. <name>sans</name>
  70. <size>8</size>
  71. <!-- font size in points -->
  72. <weight>bold</weight>
  73. <!-- 'bold' or 'normal' -->
  74. <slant>normal</slant>
  75. <!-- 'italic' or 'normal' -->
  76. </font>
  77. <font place="MenuHeader">
  78. <name>sans</name>
  79. <size>9</size>
  80. <!-- font size in points -->
  81. <weight>normal</weight>
  82. <!-- 'bold' or 'normal' -->
  83. <slant>normal</slant>
  84. <!-- 'italic' or 'normal' -->
  85. </font>
  86. <font place="MenuItem">
  87. <name>sans</name>
  88. <size>9</size>
  89. <!-- font size in points -->
  90. <weight>normal</weight>
  91. <!-- 'bold' or 'normal' -->
  92. <slant>normal</slant>
  93. <!-- 'italic' or 'normal' -->
  94. </font>
  95. <font place="ActiveOnScreenDisplay">
  96. <name>sans</name>
  97. <size>9</size>
  98. <!-- font size in points -->
  99. <weight>bold</weight>
  100. <!-- 'bold' or 'normal' -->
  101. <slant>normal</slant>
  102. <!-- 'italic' or 'normal' -->
  103. </font>
  104. <font place="InactiveOnScreenDisplay">
  105. <name>sans</name>
  106. <size>9</size>
  107. <!-- font size in points -->
  108. <weight>bold</weight>
  109. <!-- 'bold' or 'normal' -->
  110. <slant>normal</slant>
  111. <!-- 'italic' or 'normal' -->
  112. </font>
  113. </theme>
  114. <desktops>
  115. <!-- this stuff is only used at startup, pagers allow you to change them
  116. during a session
  117. these are default values to use when other ones are not already set
  118. by other applications, or saved in your session
  119. use obconf if you want to change these without having to log out
  120. and back in -->
  121. <number>9</number>
  122. <firstdesk>1</firstdesk>
  123. <names>
  124. <!-- set names up here if you want to, like this:
  125. <name>desktop 1</name>
  126. <name>desktop 2</name>
  127. -->
  128. </names>
  129. <popupTime>875</popupTime>
  130. <!-- The number of milliseconds to show the popup for when switching
  131. desktops. Set this to 0 to disable the popup. -->
  132. </desktops>
  133. <resize>
  134. <drawContents>yes</drawContents>
  135. <popupShow>Nonpixel</popupShow>
  136. <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
  137. <popupPosition>Center</popupPosition>
  138. <!-- 'Center', 'Top', or 'Fixed' -->
  139. <popupFixedPosition>
  140. <!-- these are used if popupPosition is set to 'Fixed' -->
  141. <x>10</x>
  142. <!-- positive number for distance from left edge, negative number for
  143. distance from right edge, or 'Center' -->
  144. <y>10</y>
  145. <!-- positive number for distance from top edge, negative number for
  146. distance from bottom edge, or 'Center' -->
  147. </popupFixedPosition>
  148. </resize>
  149. <!-- You can reserve a portion of your screen where windows will not cover when
  150. they are maximized, or when they are initially placed.
  151. Many programs reserve space automatically, but you can use this in other
  152. cases. -->
  153. <margins>
  154. <top>0</top>
  155. <bottom>0</bottom>
  156. <left>0</left>
  157. <right>0</right>
  158. </margins>
  159. <dock>
  160. <position>TopLeft</position>
  161. <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
  162. <floatingX>0</floatingX>
  163. <floatingY>0</floatingY>
  164. <noStrut>no</noStrut>
  165. <stacking>Above</stacking>
  166. <!-- 'Above', 'Normal', or 'Below' -->
  167. <direction>Vertical</direction>
  168. <!-- 'Vertical' or 'Horizontal' -->
  169. <autoHide>no</autoHide>
  170. <hideDelay>300</hideDelay>
  171. <!-- in milliseconds (1000 = 1 second) -->
  172. <showDelay>300</showDelay>
  173. <!-- in milliseconds (1000 = 1 second) -->
  174. <moveButton>Middle</moveButton>
  175. <!-- 'Left', 'Middle', 'Right' -->
  176. </dock>
  177. <keyboard>
  178. <chainQuitKey>C-g</chainQuitKey>
  179. <!-- Keybindings for desktop switching -->
  180. <keybind key="W-ampersand">
  181. <action name="GoToDesktop">
  182. <to>1</to>
  183. </action>
  184. </keybind>
  185. <keybind key="W-bracketleft">
  186. <action name="GoToDesktop">
  187. <to>2</to>
  188. </action>
  189. </keybind>
  190. <keybind key="W-braceleft">
  191. <action name="GoToDesktop">
  192. <to>3</to>
  193. </action>
  194. </keybind>
  195. <keybind key="W-braceright">
  196. <action name="GoToDesktop">
  197. <to>4</to>
  198. </action>
  199. </keybind>
  200. <keybind key="W-parenleft">
  201. <action name="GoToDesktop">
  202. <to>5</to>
  203. </action>
  204. </keybind>
  205. <keybind key="W-equal">
  206. <action name="GoToDesktop">
  207. <to>6</to>
  208. </action>
  209. </keybind>
  210. <keybind key="W-asterisk">
  211. <action name="GoToDesktop">
  212. <to>7</to>
  213. </action>
  214. </keybind>
  215. <keybind key="W-parenright">
  216. <action name="GoToDesktop">
  217. <to>8</to>
  218. </action>
  219. </keybind>
  220. <keybind key="W-plus">
  221. <action name="GoToDesktop">
  222. <to>9</to>
  223. </action>
  224. </keybind>
  225. <keybind key="W-S-ampersand">
  226. <action name="SendToDesktop">
  227. <to>1</to>
  228. <follow>no</follow>
  229. </action>
  230. </keybind>
  231. <keybind key="W-S-bracketleft">
  232. <action name="SendToDesktop">
  233. <to>2</to>
  234. <follow>no</follow>
  235. </action>
  236. </keybind>
  237. <keybind key="W-S-braceleft">
  238. <action name="SendToDesktop">
  239. <to>3</to>
  240. <follow>no</follow>
  241. </action>
  242. </keybind>
  243. <keybind key="W-S-braceright">
  244. <action name="SendToDesktop">
  245. <to>4</to>
  246. <follow>no</follow>
  247. </action>
  248. </keybind>
  249. <keybind key="W-S-parenleft">
  250. <action name="SendToDesktop">
  251. <to>5</to>
  252. <follow>no</follow>
  253. </action>
  254. </keybind>
  255. <keybind key="W-S-equal">
  256. <action name="SendToDesktop">
  257. <to>6</to>
  258. <follow>no</follow>
  259. </action>
  260. </keybind>
  261. <keybind key="W-S-asterisk">
  262. <action name="SendToDesktop">
  263. <to>7</to>
  264. <follow>no</follow>
  265. </action>
  266. </keybind>
  267. <keybind key="W-S-parenright">
  268. <action name="SendToDesktop">
  269. <to>8</to>
  270. <follow>no</follow>
  271. </action>
  272. </keybind>
  273. <keybind key="W-S-plus">
  274. <action name="SendToDesktop">
  275. <to>9</to>
  276. <follow>no</follow>
  277. </action>
  278. </keybind>
  279. <keybind key="W-d">
  280. <action name="ToggleShowDesktop"/>
  281. </keybind>
  282. <!-- Keybindings for windows -->
  283. <keybind key="W-S-q">
  284. <action name="Close"/>
  285. </keybind>
  286. <keybind key="W-space">
  287. <action name="Execute">
  288. <command>rofi -show run</command>
  289. </action>
  290. </keybind>
  291. <keybind key="W-Return">
  292. <action name="Execute">
  293. <command>urxvt</command>
  294. </action>
  295. </keybind>
  296. <keybind key="W-f">
  297. <action name="Maximize"/>
  298. </keybind>
  299. <!-- Keybindings for window switching -->
  300. <keybind key="A-Tab">
  301. <action name="NextWindow">
  302. <finalactions>
  303. <action name="Focus"/>
  304. <action name="Raise"/>
  305. <action name="Unshade"/>
  306. </finalactions>
  307. </action>
  308. </keybind>
  309. <keybind key="A-S-Tab">
  310. <action name="PreviousWindow">
  311. <finalactions>
  312. <action name="Focus"/>
  313. <action name="Raise"/>
  314. <action name="Unshade"/>
  315. </finalactions>
  316. </action>
  317. </keybind>
  318. <keybind key="C-A-Tab">
  319. <action name="NextWindow">
  320. <panels>yes</panels>
  321. <desktop>yes</desktop>
  322. <finalactions>
  323. <action name="Focus"/>
  324. <action name="Raise"/>
  325. <action name="Unshade"/>
  326. </finalactions>
  327. </action>
  328. </keybind>
  329. </keyboard>
  330. <mouse>
  331. <dragThreshold>1</dragThreshold>
  332. <!-- number of pixels the mouse must move before a drag begins -->
  333. <doubleClickTime>500</doubleClickTime>
  334. <!-- in milliseconds (1000 = 1 second) -->
  335. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  336. <!-- Time before changing desktops when the pointer touches the edge of the
  337. screen while moving a window, in milliseconds (1000 = 1 second).
  338. Set this to 0 to disable warping -->
  339. <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
  340. <!-- Set this to TRUE to move the mouse pointer across the desktop when
  341. switching due to hitting the edge of the screen -->
  342. <context name="Frame">
  343. <mousebind button="A-Left" action="Press">
  344. <action name="Focus"/>
  345. <action name="Raise"/>
  346. </mousebind>
  347. <mousebind button="A-Left" action="Click">
  348. <action name="Unshade"/>
  349. </mousebind>
  350. <mousebind button="A-Left" action="Drag">
  351. <action name="Move"/>
  352. </mousebind>
  353. <mousebind button="A-Right" action="Press">
  354. <action name="Focus"/>
  355. <action name="Raise"/>
  356. <action name="Unshade"/>
  357. </mousebind>
  358. <mousebind button="A-Right" action="Drag">
  359. <action name="Resize"/>
  360. </mousebind>
  361. <mousebind button="A-Middle" action="Press">
  362. <action name="Lower"/>
  363. <action name="FocusToBottom"/>
  364. <action name="Unfocus"/>
  365. </mousebind>
  366. <mousebind button="A-Up" action="Click">
  367. <action name="GoToDesktop">
  368. <to>previous</to>
  369. </action>
  370. </mousebind>
  371. <mousebind button="A-Down" action="Click">
  372. <action name="GoToDesktop">
  373. <to>next</to>
  374. </action>
  375. </mousebind>
  376. <mousebind button="C-A-Up" action="Click">
  377. <action name="GoToDesktop">
  378. <to>previous</to>
  379. </action>
  380. </mousebind>
  381. <mousebind button="C-A-Down" action="Click">
  382. <action name="GoToDesktop">
  383. <to>next</to>
  384. </action>
  385. </mousebind>
  386. <mousebind button="A-S-Up" action="Click">
  387. <action name="SendToDesktop">
  388. <to>previous</to>
  389. </action>
  390. </mousebind>
  391. <mousebind button="A-S-Down" action="Click">
  392. <action name="SendToDesktop">
  393. <to>next</to>
  394. </action>
  395. </mousebind>
  396. </context>
  397. <context name="Titlebar">
  398. <mousebind button="Left" action="Drag">
  399. <action name="Move"/>
  400. </mousebind>
  401. <mousebind button="Left" action="DoubleClick">
  402. <action name="ToggleMaximize"/>
  403. </mousebind>
  404. <mousebind button="Up" action="Click">
  405. <action name="if">
  406. <shaded>no</shaded>
  407. <then>
  408. <action name="Shade"/>
  409. <action name="FocusToBottom"/>
  410. <action name="Unfocus"/>
  411. <action name="Lower"/>
  412. </then>
  413. </action>
  414. </mousebind>
  415. <mousebind button="Down" action="Click">
  416. <action name="if">
  417. <shaded>yes</shaded>
  418. <then>
  419. <action name="Unshade"/>
  420. <action name="Raise"/>
  421. </then>
  422. </action>
  423. </mousebind>
  424. </context>
  425. <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
  426. <mousebind button="Left" action="Press">
  427. <action name="Focus"/>
  428. <action name="Raise"/>
  429. <action name="Unshade"/>
  430. </mousebind>
  431. <mousebind button="Middle" action="Press">
  432. <action name="Lower"/>
  433. <action name="FocusToBottom"/>
  434. <action name="Unfocus"/>
  435. </mousebind>
  436. <mousebind button="Right" action="Press">
  437. <action name="Focus"/>
  438. <action name="Raise"/>
  439. <action name="ShowMenu">
  440. <menu>client-menu</menu>
  441. </action>
  442. </mousebind>
  443. </context>
  444. <context name="Top">
  445. <mousebind button="Left" action="Drag">
  446. <action name="Resize">
  447. <edge>top</edge>
  448. </action>
  449. </mousebind>
  450. </context>
  451. <context name="Left">
  452. <mousebind button="Left" action="Drag">
  453. <action name="Resize">
  454. <edge>left</edge>
  455. </action>
  456. </mousebind>
  457. </context>
  458. <context name="Right">
  459. <mousebind button="Left" action="Drag">
  460. <action name="Resize">
  461. <edge>right</edge>
  462. </action>
  463. </mousebind>
  464. </context>
  465. <context name="Bottom">
  466. <mousebind button="Left" action="Drag">
  467. <action name="Resize">
  468. <edge>bottom</edge>
  469. </action>
  470. </mousebind>
  471. <mousebind button="Right" action="Press">
  472. <action name="Focus"/>
  473. <action name="Raise"/>
  474. <action name="ShowMenu">
  475. <menu>client-menu</menu>
  476. </action>
  477. </mousebind>
  478. </context>
  479. <context name="TRCorner BRCorner TLCorner BLCorner">
  480. <mousebind button="Left" action="Press">
  481. <action name="Focus"/>
  482. <action name="Raise"/>
  483. <action name="Unshade"/>
  484. </mousebind>
  485. <mousebind button="Left" action="Drag">
  486. <action name="Resize"/>
  487. </mousebind>
  488. </context>
  489. <context name="Client">
  490. <mousebind button="Left" action="Press">
  491. <action name="Focus"/>
  492. <action name="Raise"/>
  493. </mousebind>
  494. <mousebind button="Middle" action="Press">
  495. <action name="Focus"/>
  496. <action name="Raise"/>
  497. </mousebind>
  498. <mousebind button="Right" action="Press">
  499. <action name="Focus"/>
  500. <action name="Raise"/>
  501. </mousebind>
  502. </context>
  503. <context name="Icon">
  504. <mousebind button="Left" action="Press">
  505. <action name="Focus"/>
  506. <action name="Raise"/>
  507. <action name="Unshade"/>
  508. <action name="ShowMenu">
  509. <menu>client-menu</menu>
  510. </action>
  511. </mousebind>
  512. <mousebind button="Right" action="Press">
  513. <action name="Focus"/>
  514. <action name="Raise"/>
  515. <action name="ShowMenu">
  516. <menu>client-menu</menu>
  517. </action>
  518. </mousebind>
  519. </context>
  520. <context name="AllDesktops">
  521. <mousebind button="Left" action="Press">
  522. <action name="Focus"/>
  523. <action name="Raise"/>
  524. <action name="Unshade"/>
  525. </mousebind>
  526. <mousebind button="Left" action="Click">
  527. <action name="ToggleOmnipresent"/>
  528. </mousebind>
  529. </context>
  530. <context name="Shade">
  531. <mousebind button="Left" action="Press">
  532. <action name="Focus"/>
  533. <action name="Raise"/>
  534. </mousebind>
  535. <mousebind button="Left" action="Click">
  536. <action name="ToggleShade"/>
  537. </mousebind>
  538. </context>
  539. <context name="Iconify">
  540. <mousebind button="Left" action="Press">
  541. <action name="Focus"/>
  542. <action name="Raise"/>
  543. </mousebind>
  544. <mousebind button="Left" action="Click">
  545. <action name="Iconify"/>
  546. </mousebind>
  547. </context>
  548. <context name="Maximize">
  549. <mousebind button="Left" action="Press">
  550. <action name="Focus"/>
  551. <action name="Raise"/>
  552. <action name="Unshade"/>
  553. </mousebind>
  554. <mousebind button="Middle" action="Press">
  555. <action name="Focus"/>
  556. <action name="Raise"/>
  557. <action name="Unshade"/>
  558. </mousebind>
  559. <mousebind button="Right" action="Press">
  560. <action name="Focus"/>
  561. <action name="Raise"/>
  562. <action name="Unshade"/>
  563. </mousebind>
  564. <mousebind button="Left" action="Click">
  565. <action name="ToggleMaximize"/>
  566. </mousebind>
  567. <mousebind button="Middle" action="Click">
  568. <action name="ToggleMaximize">
  569. <direction>vertical</direction>
  570. </action>
  571. </mousebind>
  572. <mousebind button="Right" action="Click">
  573. <action name="ToggleMaximize">
  574. <direction>horizontal</direction>
  575. </action>
  576. </mousebind>
  577. </context>
  578. <context name="Close">
  579. <mousebind button="Left" action="Press">
  580. <action name="Focus"/>
  581. <action name="Raise"/>
  582. <action name="Unshade"/>
  583. </mousebind>
  584. <mousebind button="Left" action="Click">
  585. <action name="Close"/>
  586. </mousebind>
  587. </context>
  588. <context name="Desktop">
  589. <mousebind button="Up" action="Click">
  590. <action name="GoToDesktop">
  591. <to>previous</to>
  592. </action>
  593. </mousebind>
  594. <mousebind button="Down" action="Click">
  595. <action name="GoToDesktop">
  596. <to>next</to>
  597. </action>
  598. </mousebind>
  599. <mousebind button="A-Up" action="Click">
  600. <action name="GoToDesktop">
  601. <to>previous</to>
  602. </action>
  603. </mousebind>
  604. <mousebind button="A-Down" action="Click">
  605. <action name="GoToDesktop">
  606. <to>next</to>
  607. </action>
  608. </mousebind>
  609. <mousebind button="C-A-Up" action="Click">
  610. <action name="GoToDesktop">
  611. <to>previous</to>
  612. </action>
  613. </mousebind>
  614. <mousebind button="C-A-Down" action="Click">
  615. <action name="GoToDesktop">
  616. <to>next</to>
  617. </action>
  618. </mousebind>
  619. <mousebind button="Left" action="Press">
  620. <action name="Focus"/>
  621. <action name="Raise"/>
  622. </mousebind>
  623. <mousebind button="Right" action="Press">
  624. <action name="Focus"/>
  625. <action name="Raise"/>
  626. </mousebind>
  627. </context>
  628. <context name="Root">
  629. <!-- Menus -->
  630. <mousebind button="Middle" action="Press">
  631. <action name="ShowMenu">
  632. <menu>client-list-combined-menu</menu>
  633. </action>
  634. </mousebind>
  635. <mousebind button="Right" action="Press">
  636. <action name="ShowMenu">
  637. <menu>root-menu</menu>
  638. </action>
  639. </mousebind>
  640. </context>
  641. <context name="MoveResize">
  642. <mousebind button="Up" action="Click">
  643. <action name="GoToDesktop">
  644. <to>previous</to>
  645. </action>
  646. </mousebind>
  647. <mousebind button="Down" action="Click">
  648. <action name="GoToDesktop">
  649. <to>next</to>
  650. </action>
  651. </mousebind>
  652. <mousebind button="A-Up" action="Click">
  653. <action name="GoToDesktop">
  654. <to>previous</to>
  655. </action>
  656. </mousebind>
  657. <mousebind button="A-Down" action="Click">
  658. <action name="GoToDesktop">
  659. <to>next</to>
  660. </action>
  661. </mousebind>
  662. </context>
  663. </mouse>
  664. <menu>
  665. <!-- You can specify more than one menu file in here and they are all loaded,
  666. just don't make menu ids clash or, well, it'll be kind of pointless -->
  667. <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
  668. <file>menu.xml</file>
  669. <hideDelay>200</hideDelay>
  670. <!-- if a press-release lasts longer than this setting (in milliseconds), the
  671. menu is hidden again -->
  672. <middle>no</middle>
  673. <!-- center submenus vertically about the parent entry -->
  674. <submenuShowDelay>100</submenuShowDelay>
  675. <!-- time to delay before showing a submenu after hovering over the parent
  676. entry.
  677. if this is a negative value, then the delay is infinite and the
  678. submenu will not be shown until it is clicked on -->
  679. <submenuHideDelay>400</submenuHideDelay>
  680. <!-- time to delay before hiding a submenu when selecting another
  681. entry in parent menu
  682. if this is a negative value, then the delay is infinite and the
  683. submenu will not be hidden until a different submenu is opened -->
  684. <showIcons>yes</showIcons>
  685. <!-- controls if icons appear in the client-list-(combined-)menu -->
  686. <manageDesktops>yes</manageDesktops>
  687. <!-- show the manage desktops section in the client-list-(combined-)menu -->
  688. </menu>
  689. <applications>
  690. <application class="*">
  691. <decor>no</decor>
  692. </application>
  693. <!--
  694. # this is an example with comments through out. use these to make your
  695. # own rules, but without the comments of course.
  696. # you may use one or more of the name/class/role/title/type rules to specify
  697. # windows to match
  698. <application name="the window's _OB_APP_NAME property (see obxprop)"
  699. class="the window's _OB_APP_CLASS property (see obxprop)"
  700. groupname="the window's _OB_APP_GROUP_NAME property (see obxprop)"
  701. groupclass="the window's _OB_APP_GROUP_CLASS property (see obxprop)"
  702. role="the window's _OB_APP_ROLE property (see obxprop)"
  703. title="the window's _OB_APP_TITLE property (see obxprop)"
  704. type="the window's _OB_APP_TYPE property (see obxprob)..
  705. (if unspecified, then it is 'dialog' for child windows)">
  706. # you may set only one of name/class/role/title/type, or you may use more
  707. # than one together to restrict your matches.
  708. # the name, class, role, and title use simple wildcard matching such as those
  709. # used by a shell. you can use * to match any characters and ? to match
  710. # any single character.
  711. # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  712. # or desktop
  713. # when multiple rules match a window, they will all be applied, in the
  714. # order that they appear in this list
  715. # each rule element can be left out or set to 'default' to specify to not
  716. # change that attribute of the window
  717. <decor>yes</decor>
  718. # enable or disable window decorations
  719. <shade>no</shade>
  720. # make the window shaded when it appears, or not
  721. <position force="no">
  722. # the position is only used if both an x and y coordinate are provided
  723. # (and not set to 'default')
  724. # when force is "yes", then the window will be placed here even if it
  725. # says you want it placed elsewhere. this is to override buggy
  726. # applications who refuse to behave
  727. <x>center</x>
  728. # a number like 50, or 'center' to center on screen. use a negative number
  729. # to start from the right (or bottom for <y>), ie -50 is 50 pixels from
  730. # the right edge (or bottom). use 'default' to specify using value
  731. # provided by the application, or chosen by openbox, instead.
  732. <y>200</y>
  733. <monitor>1</monitor>
  734. # specifies the monitor in a xinerama setup.
  735. # 1 is the first head, or 'mouse' for wherever the mouse is
  736. </position>
  737. <size>
  738. # the size to make the window.
  739. <width>20</width>
  740. # a number like 20, or 'default' to use the size given by the application.
  741. # you can use fractions such as 1/2 or percentages such as 75% in which
  742. # case the value is relative to the size of the monitor that the window
  743. # appears on.
  744. <height>30%</height>
  745. </size>
  746. <focus>yes</focus>
  747. # if the window should try be given focus when it appears. if this is set
  748. # to yes it doesn't guarantee the window will be given focus. some
  749. # restrictions may apply, but Openbox will try to
  750. <desktop>1</desktop>
  751. # 1 is the first desktop, 'all' for all desktops
  752. <layer>normal</layer>
  753. # 'above', 'normal', or 'below'
  754. <iconic>no</iconic>
  755. # make the window iconified when it appears, or not
  756. <skip_pager>no</skip_pager>
  757. # asks to not be shown in pagers
  758. <skip_taskbar>no</skip_taskbar>
  759. # asks to not be shown in taskbars. window cycling actions will also
  760. # skip past such windows
  761. <fullscreen>yes</fullscreen>
  762. # make the window in fullscreen mode when it appears
  763. <maximized>true</maximized>
  764. # 'Horizontal', 'Vertical' or boolean (yes/no)
  765. </application>
  766. # end of the example
  767. -->
  768. </applications>
  769. </openbox_config>