Advertisement
Tyrsdei

RC XML

Jul 25th, 2018
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 24.22 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
  3.   <resistance>
  4.     <strength>10</strength>
  5.     <screen_edge_strength>20</screen_edge_strength>
  6.   </resistance>
  7.   <focus>
  8.     <focusNew>yes</focusNew>
  9.     <followMouse>no</followMouse>
  10.     <focusLast>yes</focusLast>
  11.     <underMouse>no</underMouse>
  12.     <focusDelay>200</focusDelay>
  13.     <raiseOnFocus>no</raiseOnFocus>
  14.   </focus>
  15.   <placement>
  16.     <policy>Smart</policy>
  17.     <center>yes</center>
  18.     <monitor>Mouse</monitor>
  19.     <primaryMonitor>Mouse</primaryMonitor>
  20.   </placement>
  21.   <theme>
  22.     <name>ArchLabs-Dark</name>
  23.     <titleLayout>NLIMC</titleLayout>
  24.     <keepBorder>yes</keepBorder>
  25.     <animateIconify>yes</animateIconify>
  26.     <font place="ActiveWindow">
  27.       <name>Roboto</name>
  28.       <size>11</size>
  29.       <weight>Normal</weight>
  30.       <slant>Normal</slant>
  31.     </font>
  32.     <font place="InactiveWindow">
  33.       <name>Roboto</name>
  34.       <size>11</size>
  35.       <weight>Normal</weight>
  36.       <slant>Italic</slant>
  37.     </font>
  38.     <font place="MenuHeader">
  39.       <name>Roboto</name>
  40.       <size>11</size>
  41.       <weight>Normal</weight>
  42.       <slant>Normal</slant>
  43.     </font>
  44.     <font place="MenuItem">
  45.       <name>Roboto</name>
  46.       <size>10</size>
  47.       <weight>Normal</weight>
  48.       <slant>Normal</slant>
  49.     </font>
  50.     <font place="ActiveOnScreenDisplay">
  51.       <name>Roboto</name>
  52.       <size>10</size>
  53.       <weight>Normal</weight>
  54.       <slant>Normal</slant>
  55.     </font>
  56.     <font place="InactiveOnScreenDisplay">
  57.       <name>Roboto</name>
  58.       <size>10</size>
  59.       <weight>Normal</weight>
  60.       <slant>Normal</slant>
  61.     </font>
  62.   </theme>
  63.   <desktops>
  64.     <number>4</number>
  65.     <firstdesk>0</firstdesk>
  66.     <names>
  67.       <name>1</name>
  68.       <name>2</name>
  69.       <name>3</name>
  70.       <name>4</name>
  71.     </names>
  72.     <popupTime>800</popupTime>
  73.   </desktops>
  74.   <resize>
  75.     <drawContents>yes</drawContents>
  76.     <popupShow>Never</popupShow>
  77.     <popupPosition>Center</popupPosition>
  78.     <popupFixedPosition>
  79.       <x>10</x>
  80.       <y>10</y>
  81.     </popupFixedPosition>
  82.   </resize>
  83.   <margins>
  84.     <top>0</top>
  85.     <bottom>0</bottom>
  86.     <left>0</left>
  87.     <right>0</right>
  88.   </margins>
  89.   <dock>
  90.     <position>Floating</position>
  91.     <floatingX>0</floatingX>
  92.     <floatingY>0</floatingY>
  93.     <noStrut>no</noStrut>
  94.     <stacking>Above</stacking>
  95.     <direction>Vertical</direction>
  96.     <autoHide>no</autoHide>
  97.     <hideDelay>300</hideDelay>
  98.     <showDelay>300</showDelay>
  99.     <moveButton>Middle</moveButton>
  100.   </dock>
  101.   <keyboard>
  102.     <chainQuitKey/>
  103.     <keybind key="W-1">
  104.       <action name="GoToDesktop">
  105.         <to>1</to>
  106.       </action>
  107.     </keybind>
  108.     <keybind key="W-2">
  109.       <action name="GoToDesktop">
  110.         <to>2</to>
  111.       </action>
  112.     </keybind>
  113.     <keybind key="W-3">
  114.       <action name="GoToDesktop">
  115.         <to>3</to>
  116.       </action>
  117.     </keybind>
  118.     <keybind key="W-4">
  119.       <action name="GoToDesktop">
  120.         <to>4</to>
  121.       </action>
  122.     </keybind>
  123.     <keybind key="S-W-1">
  124.       <action name="SendToDesktop">
  125.         <desktop>1</desktop>
  126.       </action>
  127.     </keybind>
  128.     <keybind key="S-W-2">
  129.       <action name="SendToDesktop">
  130.         <desktop>2</desktop>
  131.       </action>
  132.     </keybind>
  133.     <keybind key="S-W-3">
  134.       <action name="SendToDesktop">
  135.         <desktop>3</desktop>
  136.       </action>
  137.     </keybind>
  138.     <keybind key="S-W-4">
  139.       <action name="SendToDesktop">
  140.         <desktop>4</desktop>
  141.       </action>
  142.     </keybind>
  143.     <keybind key="A-Tab">
  144.       <action name="NextWindow">
  145.         <allDesktops>yes</allDesktops>
  146.         <raise>yes</raise>
  147.         <finalactions>
  148.           <action name="Focus"/>
  149.           <action name="UnshadeRaise"/>
  150.         </finalactions>
  151.       </action>
  152.     </keybind>
  153.     <keybind key="W-Tab">
  154.       <action name="NextWindow">
  155.         <allDesktops>yes</allDesktops>
  156.         <finalactions>
  157.           <action name="SendToDesktop">
  158.             <to>current</to>
  159.           </action>
  160.           <action name="focus"/>
  161.           <action name="raise"/>
  162.         </finalactions>
  163.       </action>
  164.     </keybind>
  165.     <!-- Window Tiling: Snap feature -->
  166.     <keybind key="W-Left">
  167.       <action name="UnmaximizeFull"/>
  168.       <action name="MaximizeVert"/>
  169.       <action name="MoveResizeTo">
  170.         <width>50%</width>
  171.       </action>
  172.       <action name="MoveToEdgeWest"/>
  173.     </keybind>
  174.     <keybind key="W-Right">
  175.       <action name="UnmaximizeFull"/>
  176.       <action name="MaximizeVert"/>
  177.       <action name="MoveResizeTo">
  178.         <width>50%</width>
  179.       </action>
  180.       <action name="MoveToEdgeEast"/>
  181.     </keybind>
  182.     <keybind key="A-F">
  183.       <action name="MaximizeFull"/>
  184.     </keybind>
  185.     <keybind key="A-S-F">
  186.       <action name="UnmaximizeFull"/>
  187.     </keybind>
  188.     <keybind key="A-S-k">
  189.       <action name="Unmaximize"/>
  190.       <action name="MoveResizeTo">
  191.         <x>-15</x>
  192.         <y>15</y>
  193.         <height>96%</height>
  194.         <width>47%</width>
  195.       </action>
  196.     </keybind>
  197.     <keybind key="A-S-j">
  198.       <action name="Unmaximize"/>
  199.       <action name="MoveResizeTo">
  200.         <x>15</x>
  201.         <y>15</y>
  202.         <height>96%</height>
  203.         <width>47%</width>
  204.       </action>
  205.     </keybind>
  206.     <!-- Top right-->
  207.     <keybind key="W-k">
  208.       <action name="Unmaximize"/>
  209.       <action name="MoveResizeTo">
  210.         <x>-15</x>
  211.         <y>15</y>
  212.       </action>
  213.     </keybind>
  214.     <!-- Top left-->
  215.     <keybind key="W-h">
  216.       <action name="Unmaximize"/>
  217.       <action name="MoveResizeTo">
  218.         <x>15</x>
  219.         <y>15</y>
  220.       </action>
  221.     </keybind>
  222.     <!-- Bottom left-->
  223.     <keybind key="W-j">
  224.       <action name="Unmaximize"/>
  225.       <action name="MoveResizeTo">
  226.         <x>15</x>
  227.         <y>-15</y>
  228.       </action>
  229.     </keybind>
  230.     <!-- Bottom right-->
  231.     <keybind key="W-l">
  232.       <action name="Unmaximize"/>
  233.       <action name="MoveResizeTo">
  234.         <x>-15</x>
  235.         <y>-15</y>
  236.       </action>
  237.     </keybind>
  238.     <keybind key="A-z">
  239.       <action name="Unmaximize"/>
  240.       <action name="MoveResizeTo">
  241.         <x>15</x>
  242.         <y>15</y>
  243.         <height>97%</height>
  244.         <width>32%</width>
  245.       </action>
  246.     </keybind>
  247.     <keybind key="A-x">
  248.       <action name="Unmaximize"/>
  249.       <action name="MoveResizeTo">
  250.         <x>34%</x>
  251.         <y>15</y>
  252.         <height>97%</height>
  253.         <width>32%</width>
  254.       </action>
  255.     </keybind>
  256.     <keybind key="A-c">
  257.       <action name="Unmaximize"/>
  258.       <action name="MoveResizeTo">
  259.         <x>-17</x>
  260.         <y>15</y>
  261.         <height>97%</height>
  262.         <width>32%</width>
  263.       </action>
  264.     </keybind>
  265.     <!-- Move -->
  266.     <keybind key="W-Right">
  267.       <action name="MoveRelative">
  268.         <x>20</x>
  269.         <y>0</y>
  270.       </action>
  271.     </keybind>
  272.     <keybind key="W-Left">
  273.       <action name="MoveRelative">
  274.         <x>-20</x>
  275.         <y>0</y>
  276.       </action>
  277.     </keybind>
  278.     <keybind key="W-Up">
  279.       <action name="MoveRelative">
  280.         <x>0</x>
  281.         <y>-20</y>
  282.       </action>
  283.     </keybind>
  284.     <keybind key="W-Down">
  285.       <action name="MoveRelative">
  286.         <x>0</x>
  287.         <y>20</y>
  288.       </action>
  289.     </keybind>
  290.     <!-- Resize -->
  291.     <keybind key="W-S-Right">
  292.       <action name="ResizeRelative">
  293.         <right>20</right>
  294.       </action>
  295.     </keybind>
  296.     <keybind key="W-S-Left">
  297.       <action name="ResizeRelative">
  298.         <right>-20</right>
  299.       </action>
  300.     </keybind>
  301.     <keybind key="W-S-Down">
  302.       <action name="ResizeRelative">
  303.         <bottom>20</bottom>
  304.       </action>
  305.     </keybind>
  306.     <keybind key="W-S-Up">
  307.       <action name="ResizeRelative">
  308.         <bottom>-20</bottom>
  309.       </action>
  310.     </keybind>
  311.     <keybind key="S-W-Left">
  312.       <action name="SendToDesktopLeft"/>
  313.     </keybind>
  314.     <keybind key="S-W-Right">
  315.       <action name="SendToDesktopRight"/>
  316.     </keybind>
  317.     <keybind key="S-W-Up">
  318.       <action name="SendToDesktopUp"/>
  319.     </keybind>
  320.     <keybind key="S-W-Down">
  321.       <action name="SendToDesktopDown"/>
  322.     </keybind>
  323.     <keybind key="A-Escape">
  324.       <action name="Lower"/>
  325.       <action name="FocusToBottom"/>
  326.       <action name="Unfocus"/>
  327.     </keybind>
  328.     <keybind key="XF86AudioRaiseVolume">
  329.       <action name="Execute">
  330.         <command>pamixer -i 2</command>
  331.       </action>
  332.     </keybind>
  333.     <keybind key="XF86AudioLowerVolume">
  334.       <action name="Execute">
  335.         <command>pamixer -d 2</command>
  336.       </action>
  337.     </keybind>
  338.     <keybind key="XF86AudioMute">
  339.       <action name="Execute">
  340.         <command>pamixer -t</command>
  341.       </action>
  342.     </keybind>
  343.     <keybind key="XF86AudioStop">
  344.       <action name="Execute">
  345.         <command>playerctl stop</command>
  346.       </action>
  347.     </keybind>
  348.     <keybind key="XF86AudioPlay">
  349.       <action name="Execute">
  350.         <command>playerctl play-pause</command>
  351.       </action>
  352.     </keybind>
  353.     <keybind key="XF86AudioPrev">
  354.       <action name="Execute">
  355.         <command>playerctl previous</command>
  356.       </action>
  357.     </keybind>
  358.     <keybind key="XF86AudioNext">
  359.       <action name="Execute">
  360.         <command>playerctl next</command>
  361.       </action>
  362.     </keybind>
  363.     <keybind key="XF86MonBrightnessUp">
  364.       <action name="Execute">
  365.         <command>xbacklight +10</command>
  366.       </action>
  367.     </keybind>
  368.     <keybind key="XF86MonBrightnessDown">
  369.       <action name="Execute">
  370.         <command>xbacklight -10</command>
  371.       </action>
  372.     </keybind>
  373.     <keybind key="Print">
  374.       <action name="Execute">
  375.         <command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
  376.       </action>
  377.     </keybind>
  378.     <keybind key="A-Print">
  379.       <action name="Execute">
  380.         <command>scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
  381.       </action>
  382.     </keybind>
  383.     <keybind key="W-f">
  384.       <action name="Execute">
  385.         <command>exo-open --launch FileManager</command>
  386.       </action>
  387.     </keybind>
  388.     <keybind key="W-t">
  389.       <action name="Execute">
  390.         <command>exo-open --launch TerminalEmulator</command>
  391.       </action>
  392.     </keybind>
  393.     <keybind key="W-w">
  394.       <action name="Execute">
  395.         <command>exo-open --launch WebBrowser</command>
  396.       </action>
  397.     </keybind>
  398.     <keybind key="W-e">
  399.       <action name="Execute">
  400.         <command>atom</command>
  401.       </action>
  402.     </keybind>
  403.     <keybind key="W-a">
  404.       <action name="Execute">
  405.         <command>xfce4-settings-manager</command>
  406.       </action>
  407.     </keybind>
  408.     <keybind key="W-m">
  409.       <action name="Execute">
  410.         <command>audacious</command>
  411.       </action>
  412.     </keybind>
  413.     <keybind key="W-v">
  414.       <action name="Execute">
  415.         <command>pavucontrol</command>
  416.       </action>
  417.     </keybind>
  418.     <keybind key="W-s">
  419.       <action name="Execute">
  420.         <command>skippy-xd</command>
  421.       </action>
  422.     </keybind>
  423.     <keybind key="A-F1">
  424.       <action name="Execute">
  425.         <command>rofr.sh -r</command>
  426.       </action>
  427.     </keybind>
  428.     <keybind key="C-space">
  429.       <action name="Execute">
  430.         <command>rofr.sh -r</command>
  431.       </action>
  432.     </keybind>
  433.     <keybind key="W-x">
  434.       <action name="Execute">
  435.         <command>rofr.sh -l</command>
  436.       </action>
  437.     </keybind>
  438.     <keybind key="C-A-Delete">
  439.       <action name="Execute">
  440.         <command>rofr.sh -l</command>
  441.       </action>
  442.     </keybind>
  443.     <keybind key="W-S-Escape">
  444.       <action name="Exit"/>
  445.     </keybind>
  446.     <keybind key="C-S-BackSpace">
  447.       <action name="Restart"/>
  448.     </keybind>
  449.     <keybind key="C-S-Enter">
  450.       <action name="Reconfigure"/>
  451.     </keybind>
  452.     <keybind key="W-Escape">
  453.       <action name="Execute">
  454.         <command>xkill</command>
  455.       </action>
  456.     </keybind>
  457.     <keybind key="A-F4">
  458.       <action name="Close"/>
  459.     </keybind>
  460.     <keybind key="A-F5">
  461.       <action name="Iconify"/>
  462.     </keybind>
  463.     <keybind key="A-F6">
  464.       <action name="ToggleMaximize"/>
  465.     </keybind>
  466.     <keybind key="A-F8">
  467.       <action name="ToggleDecorations"/>
  468.     </keybind>
  469.     <keybind key="W-d">
  470.       <action name="ToggleShowDesktop"/>
  471.     </keybind>
  472.     <keybind key="W-b">
  473.       <action name="ToggleDecorations"/>
  474.     </keybind>
  475.     <keybind key="A-r">
  476.       <action name="Resize"/>
  477.     </keybind>
  478.     <keybind key="A-m">
  479.       <action name="Move"/>
  480.     </keybind>
  481.     <keybind key="S-W-q">
  482.       <action name="Close"/>
  483.     </keybind>
  484.     <keybind key="W-space">
  485.       <action name="ShowMenu">
  486.         <menu>root-menu</menu>
  487.       </action>
  488.     </keybind>
  489.     <keybind key="A-space">
  490.       <action name="ShowMenu">
  491.         <menu>client-menu</menu>
  492.       </action>
  493.     </keybind>
  494.     <keybind key="W-KP_1">
  495.       <action name="UnmaximizeFull"/>
  496.       <action name="MoveResizeTo">
  497.         <x>0</x>
  498.         <y>-0</y>
  499.         <width>50%</width>
  500.         <height>50%</height>
  501.       </action>
  502.     </keybind>
  503.     <keybind key="W-KP_2">
  504.       <action name="UnmaximizeFull"/>
  505.       <action name="MoveResizeTo">
  506.         <x>0</x>
  507.         <y>-0</y>
  508.         <width>100%</width>
  509.         <height>50%</height>
  510.       </action>
  511.     </keybind>
  512.     <keybind key="W-KP_3">
  513.       <action name="UnmaximizeFull"/>
  514.       <action name="MoveResizeTo">
  515.         <x>-0</x>
  516.         <y>-0</y>
  517.         <width>50%</width>
  518.         <height>50%</height>
  519.       </action>
  520.     </keybind>
  521.     <keybind key="W-KP_4">
  522.       <action name="UnmaximizeFull"/>
  523.       <action name="MoveResizeTo">
  524.         <x>0</x>
  525.         <y>0</y>
  526.         <width>50%</width>
  527.         <height>100%</height>
  528.       </action>
  529.     </keybind>
  530.     <keybind key="W-KP_5">
  531.       <action name="MaximizeFull"/>
  532.     </keybind>
  533.     <keybind key="W-KP_6">
  534.       <action name="UnmaximizeFull"/>
  535.       <action name="MoveResizeTo">
  536.         <x>-0</x>
  537.         <y>0</y>
  538.         <width>50%</width>
  539.         <height>100%</height>
  540.       </action>
  541.     </keybind>
  542.     <keybind key="W-KP_7">
  543.       <action name="UnmaximizeFull"/>
  544.       <action name="MoveResizeTo">
  545.         <x>0</x>
  546.         <y>0</y>
  547.         <width>50%</width>
  548.         <height>50%</height>
  549.       </action>
  550.     </keybind>
  551.     <keybind key="W-KP_8">
  552.       <action name="UnmaximizeFull"/>
  553.       <action name="MoveResizeTo">
  554.         <x>0</x>
  555.         <y>0</y>
  556.         <width>100%</width>
  557.         <height>50%</height>
  558.       </action>
  559.     </keybind>
  560.     <keybind key="W-KP_9">
  561.       <action name="UnmaximizeFull"/>
  562.       <action name="MoveResizeTo">
  563.         <x>-0</x>
  564.         <y>0</y>
  565.         <width>50%</width>
  566.         <height>50%</height>
  567.       </action>
  568.     </keybind>
  569.     <keybind key="W-Right">
  570.       <action name="UnmaximizeFull"/>
  571.       <action name="MaximizeVert"/>
  572.       <action name="MoveResizeTo">
  573.         <width>50%</width>
  574.       </action>
  575.       <action name="MoveToEdgeEast"/>
  576.     </keybind>
  577.     <keybind key="W-Left">
  578.       <action name="UnmaximizeFull"/>
  579.       <action name="MaximizeVert"/>
  580.       <action name="MoveResizeTo">
  581.         <width>50%</width>
  582.       </action>
  583.       <action name="MoveToEdgeWest"/>
  584.     </keybind>
  585.     <keybind key="W-Up">
  586.       <action name="MaximizeFull"/>
  587.     </keybind>
  588.     <keybind key="W-Down">
  589.       <action name="UnmaximizeFull"/>
  590.       <action name="MoveResizeTo">
  591.         <width>80%</width>
  592.         <height>80%</height>
  593.       </action>
  594.       <action name="MoveToCenter"/>
  595.     </keybind>
  596.     <keybind key="W-A-Left">
  597.       <action name="UnmaximizeFull"/>
  598.       <action name="MaximizeVert"/>
  599.       <action name="MoveResizeTo">
  600.         <x>0</x>
  601.         <y>0</y>
  602.         <width>50%</width>
  603.       </action>
  604.     </keybind>
  605.     <keybind key="W-A-Right">
  606.       <action name="UnmaximizeFull"/>
  607.       <action name="MaximizeVert"/>
  608.       <action name="MoveResizeTo">
  609.         <x>-0</x>
  610.         <y>0</y>
  611.         <width>50%</width>
  612.       </action>
  613.     </keybind>
  614.   </keyboard>
  615.   <mouse>
  616.     <dragThreshold>4</dragThreshold>
  617.     <doubleClickTime>400</doubleClickTime>
  618.     <screenEdgeWarpTime>600</screenEdgeWarpTime>
  619.     <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
  620.     <context name="Frame">
  621.       <mousebind action="Press" button="A-Left">
  622.         <action name="Focus"/>
  623.         <action name="Raise"/>
  624.       </mousebind>
  625.       <mousebind action="Drag" button="A-Left">
  626.         <action name="Move"/>
  627.       </mousebind>
  628.       <mousebind action="Press" button="A-Right">
  629.         <action name="Focus"/>
  630.         <action name="Raise"/>
  631.         <action name="Unshade"/>
  632.       </mousebind>
  633.       <mousebind action="Drag" button="A-Right">
  634.         <action name="Resize"/>
  635.       </mousebind>
  636.     </context>
  637.     <context name="Titlebar">
  638.       <mousebind action="Press" button="A-Left">
  639.         <action name="Focus"/>
  640.         <action name="Raise"/>
  641.       </mousebind>
  642.       <mousebind action="Drag" button="A-Left">
  643.         <action name="Move"/>
  644.       </mousebind>
  645.       <mousebind action="Press" button="Left">
  646.         <action name="Focus"/>
  647.         <action name="Raise"/>
  648.       </mousebind>
  649.       <mousebind action="Drag" button="Left">
  650.         <action name="if">
  651.           <maximizedvertical>yes</maximizedvertical>
  652.           <then>
  653.             <action name="Unmaximize"/>
  654.             <direction>vertical</direction>
  655.             <action name="MoveResizeTo">
  656.               <x>center</x>
  657.               <y>current</y>
  658.             </action>
  659.             <action name="Move"/>
  660.           </then>
  661.           <else>
  662.             <action name="Move"/>
  663.           </else>
  664.         </action>
  665.       </mousebind>
  666.       <mousebind action="DoubleClick" button="Left">
  667.         <action name="ToggleMaximizeFull"/>
  668.       </mousebind>
  669.       <mousebind action="Click" button="Up">
  670.         <action name="if">
  671.           <shaded>no</shaded>
  672.           <then>
  673.             <action name="Shade"/>
  674.             <action name="FocusToBottom"/>
  675.             <action name="Unfocus"/>
  676.             <action name="Lower"/>
  677.           </then>
  678.         </action>
  679.       </mousebind>
  680.       <mousebind action="Click" button="Down">
  681.         <action name="if">
  682.           <shaded>yes</shaded>
  683.           <then>
  684.             <action name="Unshade"/>
  685.             <action name="Raise"/>
  686.           </then>
  687.         </action>
  688.       </mousebind>
  689.       <mousebind action="Press" button="Right">
  690.         <action name="Focus"/>
  691.         <action name="Raise"/>
  692.         <action name="ShowMenu">
  693.           <menu>client-menu</menu>
  694.         </action>
  695.       </mousebind>
  696.     </context>
  697.     <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
  698.       <mousebind action="Press" button="Left">
  699.         <action name="Focus"/>
  700.         <action name="Raise"/>
  701.         <action name="Unshade"/>
  702.       </mousebind>
  703.       <mousebind action="Press" button="Right">
  704.         <action name="Focus"/>
  705.         <action name="Raise"/>
  706.         <action name="ShowMenu">
  707.           <menu>client-menu</menu>
  708.         </action>
  709.       </mousebind>
  710.     </context>
  711.     <context name="Top">
  712.       <mousebind action="Press" button="Left">
  713.         <action name="Focus"/>
  714.         <action name="Raise"/>
  715.         <action name="Unshade"/>
  716.       </mousebind>
  717.       <mousebind action="Drag" button="Left">
  718.         <action name="Resize">
  719.           <edge>top</edge>
  720.         </action>
  721.       </mousebind>
  722.     </context>
  723.     <context name="Left">
  724.       <mousebind action="Press" button="Left">
  725.         <action name="Focus"/>
  726.         <action name="Raise"/>
  727.       </mousebind>
  728.       <mousebind action="Drag" button="Left">
  729.         <action name="Resize">
  730.           <edge>left</edge>
  731.         </action>
  732.       </mousebind>
  733.     </context>
  734.     <context name="Right">
  735.       <mousebind action="Press" button="Left">
  736.         <action name="Focus"/>
  737.         <action name="Raise"/>
  738.       </mousebind>
  739.       <mousebind action="Drag" button="Left">
  740.         <action name="Resize">
  741.           <edge>right</edge>
  742.         </action>
  743.       </mousebind>
  744.     </context>
  745.     <context name="Bottom">
  746.       <mousebind action="Press" button="Left">
  747.         <action name="Focus"/>
  748.         <action name="Raise"/>
  749.       </mousebind>
  750.       <mousebind action="Drag" button="Left">
  751.         <action name="Resize">
  752.           <edge>bottom</edge>
  753.         </action>
  754.       </mousebind>
  755.     </context>
  756.     <context name="TRCorner BRCorner TLCorner BLCorner">
  757.       <mousebind action="Press" button="Left">
  758.         <action name="Focus"/>
  759.         <action name="Raise"/>
  760.         <action name="Unshade"/>
  761.       </mousebind>
  762.       <mousebind action="Drag" button="Left">
  763.         <action name="Resize"/>
  764.       </mousebind>
  765.     </context>
  766.     <context name="Client">
  767.       <mousebind action="Press" button="A-Left">
  768.         <action name="Focus"/>
  769.         <action name="Raise"/>
  770.       </mousebind>
  771.       <mousebind action="Drag" button="A-Left">
  772.         <action name="Move"/>
  773.       </mousebind>
  774.       <mousebind action="Press" button="Left">
  775.         <action name="Focus"/>
  776.         <action name="Raise"/>
  777.       </mousebind>
  778.       <mousebind action="Press" button="Right">
  779.         <action name="Focus"/>
  780.         <action name="Raise"/>
  781.       </mousebind>
  782.     </context>
  783.     <context name="Icon">
  784.       <mousebind action="Press" button="Right">
  785.         <action name="Focus"/>
  786.         <action name="Raise"/>
  787.         <action name="Unshade"/>
  788.         <action name="ShowMenu">
  789.           <menu>client-menu</menu>
  790.         </action>
  791.       </mousebind>
  792.     </context>
  793.     <context name="AllDesktops">
  794.       <mousebind action="Click" button="Left">
  795.         <action name="ToggleOmnipresent"/>
  796.       </mousebind>
  797.     </context>
  798.     <context name="Shade">
  799.       <mousebind action="Click" button="Left">
  800.         <action name="ToggleShade"/>
  801.       </mousebind>
  802.     </context>
  803.     <context name="Iconify">
  804.       <mousebind action="Click" button="Left">
  805.         <action name="Iconify"/>
  806.       </mousebind>
  807.     </context>
  808.     <context name="Maximize">
  809.       <mousebind action="Press" button="Left">
  810.         <action name="Focus"/>
  811.         <action name="Raise"/>
  812.         <action name="Unshade"/>
  813.       </mousebind>
  814.       <mousebind action="Press" button="Right">
  815.         <action name="Focus"/>
  816.         <action name="Raise"/>
  817.         <action name="Unshade"/>
  818.       </mousebind>
  819.       <mousebind action="Click" button="Left">
  820.         <action name="ToggleMaximize"/>
  821.       </mousebind>
  822.       <mousebind action="Click" button="Right">
  823.         <action name="ToggleMaximize">
  824.           <direction>horizontal</direction>
  825.         </action>
  826.       </mousebind>
  827.     </context>
  828.     <context name="Close">
  829.       <mousebind action="Click" button="Left">
  830.         <action name="Close"/>
  831.       </mousebind>
  832.     </context>
  833.     <context name="Desktop">
  834.       <mousebind action="Click" button="Left">
  835.         <action name="Focus"/>
  836.       </mousebind>
  837.       <mousebind action="Click" button="A-Up">
  838.         <action name="GoToDesktop">
  839.           <to>previous</to>
  840.         </action>
  841.       </mousebind>
  842.       <mousebind action="Click" button="A-Down">
  843.         <action name="GoToDesktop">
  844.           <to>next</to>
  845.         </action>
  846.       </mousebind>
  847.     </context>
  848.     <context name="Root">
  849.       <mousebind action="Press" button="Middle">
  850.         <action name="ShowMenu">
  851.           <menu>client-list-combined-menu</menu>
  852.         </action>
  853.       </mousebind>
  854.       <mousebind action="Press" button="A-Right">
  855.         <action name="ShowMenu">
  856.           <menu>client-list-combined-menu</menu>
  857.         </action>
  858.       </mousebind>
  859.       <mousebind action="Press" button="Right">
  860.         <action name="ShowMenu">
  861.           <menu>root-menu</menu>
  862.         </action>
  863.       </mousebind>
  864.     </context>
  865.   </mouse>
  866.   <menu>
  867.     <file>menu.xml</file>
  868.     <hideDelay>400</hideDelay>
  869.     <middle>no</middle>
  870.     <submenuShowDelay>100</submenuShowDelay>
  871.     <submenuHideDelay>200</submenuHideDelay>
  872.     <applicationIcons>no</applicationIcons>
  873.     <manageDesktops>yes</manageDesktops>
  874.   </menu>
  875.   <applications>
  876.     <application name="oblogout">
  877.       <position force="no">
  878.         <monitor>1</monitor>
  879.       </position>
  880.       <fullscreen>yes</fullscreen>
  881.     </application>
  882.   </applications>
  883. </openbox_config>
  884. <!-- vim:sw=2
  885. -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement