Guest User

Untitled

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