Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vim .config/openbox/rc.xml
- <openbox_config xmlns="http://openbox.org/3.4/rc">
- <resistance>
- <strength>10</strength>
- <screen_edge_strength>20</screen_edge_strength>
- </resistance>
- <focus>
- <focusNew>yes</focusNew>
- apply -->
- <followMouse>no</followMouse>
- <focusLast>yes</focusLast>
- <underMouse>no</underMouse>
- <focusDelay>200</focusDelay>
- <raiseOnFocus>no</raiseOnFocus>
- </focus>
- <placement>
- <policy>Smart</policy>
- <center>yes</center>
- <monitor>Any</monitor>
- </placement>
- <theme>
- <name>statler</name>
- <titleLayout>DSLIMC</titleLayout>
- <keepBorder>yes</keepBorder>
- <animateIconify>no</animateIconify>
- <font place="ActiveWindow">
- <name>Liberation Sans</name>
- <size>10</size>
- <weight>Bold</weight>
- <slant>Normal</slant>
- </font>
- <font place="InactiveWindow">
- <name>Liberation Sans</name>
- <size>10</size>
- <!-- font size in points -->
- <weight>Normal</weight>
- <!-- 'bold' or 'normal' -->
- <slant>Normal</slant>
- <!-- 'italic' or 'normal' -->
- </font>
- <font place="MenuHeader">
- <name>Liberation Sans</name>
- <size>10</size>
- <weight>Normal</weight>
- <slant>Normal</slant>
- </font>
- <font place="MenuItem">
- <name>Liberation Sans</name>
- <size>10</size>
- <weight>Normal</weight>
- <slant>Normal</slant>
- </font>
- <font place="OnScreenDisplay">
- <name>Liberation Sans</name>
- <size>10</size>
- <weight>Normal</weight>
- <slant>Normal</slant>
- </font>
- </theme>
- <desktops>
- <number>2</number>
- <firstdesk>1</firstdesk>
- <names>
- <name>1</name>
- <name>2</name>
- <name>3</name>
- <name>4</name>
- </names>
- <popupTime>875</popupTime>
- </desktops>
- <resize>
- <drawContents>yes</drawContents>
- <popupShow>Nonpixel</popupShow>
- <popupPosition>Center</popupPosition>
- <popupFixedPosition>
- <x>0</x>
- <y>0</y>
- </popupFixedPosition>
- </resize>
- <margins>
- <top>1</top>
- <bottom>0</bottom>
- <left>0</left>
- <right>0</right>
- </margins>
- <dock>
- <position>TopLeft</position>
- <floatingX>0</floatingX>
- <floatingY>0</floatingY>
- <noStrut>no</noStrut>
- <stacking>Above</stacking>
- <direction>Vertical</direction>
- <autoHide>no</autoHide>
- <hideDelay>300</hideDelay>
- <showDelay>300</showDelay>
- <moveButton>Middle</moveButton>
- </dock>
- <keyboard>
- <chainQuitKey>C-g</chainQuitKey>
- <keybind key="C-A-Left">
- <action name="DesktopLeft">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="C-A-Right">
- <action name="DesktopRight">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="C-A-Up">
- <action name="DesktopUp">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="C-A-Down">
- <action name="DesktopDown">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="S-A-Left">
- <action name="SendToDesktopLeft">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="S-A-Right">
- <action name="SendToDesktopRight">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="S-A-Up">
- <action name="SendToDesktopUp">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="S-A-Down">
- <action name="SendToDesktopDown">
- <dialog>no</dialog>
- <wrap>no</wrap>
- </action>
- </keybind>
- <keybind key="W-F1">
- <action name="Desktop">
- <desktop>1</desktop>
- </action>
- </keybind>
- <keybind key="W-F2">
- <action name="Desktop">
- <desktop>2</desktop>
- </action>
- </keybind>
- <keybind key="W-F3">
- <action name="Desktop">
- <desktop>3</desktop>
- </action>
- </keybind>
- <keybind key="W-F4">
- <action name="Desktop">
- <desktop>4</desktop>
- </action>
- </keybind>
- <keybind key="W-d">
- <action name="ToggleShowDesktop"/>
- </keybind>
- <keybind key="W-A-f">
- <action name="GrowToEdgeNorth"/>
- <action name="GrowToEdgeEast"/>
- <action name="GrowToEdgeSouth"/>
- <action name="GrowToEdgeWest"/>
- </keybind>
- <keybind key="A-F4">
- <action name="Close"/>
- </keybind>
- <keybind key="A-Escape">
- <action name="Lower"/>
- <action name="FocusToBottom"/>
- <action name="Unfocus"/>
- </keybind>
- <keybind key="A-space">
- <action name="ShowMenu">
- <menu>client-menu</menu>
- </action>
- </keybind>
- <keybind key="A-Tab">
- <action name="NextWindow"/>
- </keybind>
- <keybind key="A-S-Tab">
- <action name="PreviousWindow"/>
- </keybind>
- <keybind key="C-A-Tab">
- <action name="NextWindow">
- <panels>yes</panels>
- <desktop>yes</desktop>
- </action>
- </keybind>
- <keybind key="W-e">
- <action name="Execute">
- <startupnotify>
- <enabled>true</enabled>
- <name>pcmanfm-qt</name>
- </startupnotify>
- <command>pcmanfm-qt</command>
- </action>
- </keybind>
- <keybind key="W-Tab">
- <action name="ShowMenu">
- <menu>client-list-combined-menu</menu>
- </action>
- </keybind>
- <keybind key="W-space">
- <action name="ShowMenu">
- <menu>root-menu</menu>
- </action>
- </keybind>
- <keybind key="A-C-q">
- <action name="ShowMenu">
- <menu>root-menu</menu>
- </action>
- </keybind>
- <keybind key="W-Right">
- <action name="GrowToEdgeEast"/>
- </keybind>
- <keybind key="W-Left">
- <action name="GrowToEdgeWest"/>
- </keybind>
- <keybind key="W-Down">
- <action name="GrowToEdgeSouth"/>
- </keybind>
- <keybind key="W-Up">
- <action name="GrowToEdgeNorth"/>
- </keybind>
- </keyboard>
- <mouse>
- <dragThreshold>8</dragThreshold>
- <doubleClickTime>200</doubleClickTime>
- <screenEdgeWarpTime>400</screenEdgeWarpTime>
- <context name="Frame">
- <mousebind button="A-Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="A-Left" action="Click">
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="A-Left" action="Drag">
- <action name="Move"/>
- </mousebind>
- <mousebind button="A-Right" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="A-Right" action="Drag">
- <action name="Resize"/>
- </mousebind>
- <mousebind button="A-Middle" action="Press">
- <action name="Lower"/>
- <action name="FocusToBottom"/>
- <action name="Unfocus"/>
- </mousebind>
- <mousebind button="A-Up" action="Click">
- <action name="DesktopPrevious"/>
- </mousebind>
- <mousebind button="A-Down" action="Click">
- <action name="DesktopNext"/>
- </mousebind>
- <mousebind button="C-A-Up" action="Click">
- <action name="DesktopPrevious"/>
- </mousebind>
- <mousebind button="C-A-Down" action="Click">
- <action name="DesktopNext"/>
- </mousebind>
- <mousebind button="A-S-Up" action="Click">
- <action name="SendToDesktopPrevious"/>
- </mousebind>
- <mousebind button="A-S-Down" action="Click">
- <action name="SendToDesktopNext"/>
- </mousebind>
- </context>
- <context name="Titlebar">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Move"/>
- </mousebind>
- <mousebind button="Left" action="DoubleClick">
- <action name="ToggleMaximizeFull"/>
- </mousebind>
- <mousebind button="Middle" action="Press">
- <action name="Lower"/>
- <action name="FocusToBottom"/>
- <action name="Unfocus"/>
- </mousebind>
- <mousebind button="Up" action="Click">
- <action name="Shade"/>
- <action name="FocusToBottom"/>
- <action name="Unfocus"/>
- <action name="Lower"/>
- </mousebind>
- <mousebind button="Down" action="Click">
- <action name="Unshade"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Right" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="ShowMenu">
- <menu>client-menu</menu>
- </action>
- </mousebind>
- </context>
- <context name="Top">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize">
- <edge>top</edge>
- </action>
- </mousebind>
- </context>
- <context name="Left">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize">
- <edge>left</edge>
- </action>
- </mousebind>
- </context>
- <context name="Right">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize">
- <edge>right</edge>
- </action>
- </mousebind>
- </context>
- <context name="Bottom">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize">
- <edge>bottom</edge>
- </action>
- </mousebind>
- <mousebind button="Middle" action="Press">
- <action name="Lower"/>
- <action name="FocusToBottom"/>
- <action name="Unfocus"/>
- </mousebind>
- <mousebind button="Right" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="ShowMenu">
- <menu>client-menu</menu>
- </action>
- </mousebind>
- </context>
- <context name="BLCorner">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize"/>
- </mousebind>
- </context>
- <context name="BRCorner">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize"/>
- </mousebind>
- </context>
- <context name="TLCorner">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize"/>
- </mousebind>
- </context>
- <context name="TRCorner">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Left" action="Drag">
- <action name="Resize"/>
- </mousebind>
- </context>
- <context name="Client">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Middle" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Right" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- </context>
- <context name="Icon">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- <action name="ShowMenu">
- <menu>client-menu</menu>
- </action>
- </mousebind>
- <mousebind button="Right" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="ShowMenu">
- <menu>client-menu</menu>
- </action>
- </mousebind>
- </context>
- <context name="AllDesktops">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Left" action="Click">
- <action name="ToggleOmnipresent"/>
- </mousebind>
- </context>
- <context name="Shade">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Click">
- <action name="ToggleShade"/>
- </mousebind>
- </context>
- <context name="Iconify">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- <mousebind button="Left" action="Click">
- <action name="Iconify"/>
- </mousebind>
- </context>
- <context name="Maximize">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Middle" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Right" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Left" action="Click">
- <action name="ToggleMaximizeFull"/>
- </mousebind>
- <mousebind button="Middle" action="Click">
- <action name="ToggleMaximizeVert"/>
- </mousebind>
- <mousebind button="Right" action="Click">
- <action name="ToggleMaximizeHorz"/>
- </mousebind>
- </context>
- <context name="Close">
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </mousebind>
- <mousebind button="Left" action="Click">
- <action name="Close"/>
- </mousebind>
- </context>
- <context name="Desktop">
- <mousebind button="Up" action="Click">
- <action name="DesktopPrevious"/>
- </mousebind>
- <mousebind button="Down" action="Click">
- <action name="DesktopNext"/>
- </mousebind>
- <mousebind button="A-Up" action="Click">
- <action name="DesktopPrevious"/>
- </mousebind>
- <mousebind button="A-Down" action="Click">
- <action name="DesktopNext"/>
- </mousebind>
- <mousebind button="C-A-Up" action="Click">
- <action name="DesktopPrevious"/>
- </mousebind>
- <mousebind button="C-A-Down" action="Click">
- <action name="DesktopNext"/>
- </mousebind>
- <mousebind button="Left" action="Press">
- <action name="Focus"/>
- <action name="Raise"/>
- </mousebind>
- </context>
- <context name="Root">
- <!-- Menus -->
- <mousebind button="Middle" action="Press">
- <action name="ShowMenu">
- <menu>client-list-combined-menu</menu>
- </action>
- </mousebind>
- <mousebind button="Right" action="Press">
- <action name="ShowMenu">
- <menu>root-menu</menu>
- </action>
- </mousebind>
- </context>
- <context name="MoveResize">
- <mousebind button="Up" action="Click">
- <action name="DesktopPrevious"/>
- </mousebind>
- <mousebind button="Down" action="Click">
- <action name="DesktopNext"/>
- </mousebind>
- <mousebind button="A-Up" action="Click">
- <action name="DesktopPrevious"/>
- </mousebind>
- <mousebind button="A-Down" action="Click">
- <action name="DesktopNext"/>
- </mousebind>
- </context>
- </mouse>
- <menu>
- <file>menu.xml</file>
- <hideDelay>200</hideDelay>
- <middle>no</middle>
- <submenuShowDelay>100</submenuShowDelay>
- <applicationIcons>yes</applicationIcons>
- </menu>
- </openbox_config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement