Skip to content

Instantly share code, notes, and snippets.

@10sr
Last active October 1, 2015 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 10sr/1998681 to your computer and use it in GitHub Desktop.
Save 10sr/1998681 to your computer and use it in GitHub Desktop.
openbox configuration newly added codes
<!-- window control -->
<keybind key="A-Return">
<action name="ToggleFullscreen" />
</keybind>
<!-- desktop switching -->
<keybind key="A-Left">
<action name="GoToDesktop">
<to>left</to>
<wrap>yes</wrap>
</action>
</keybind>
<keybind key="A-Right">
<action name="GoToDesktop">
<to>right</to>
<wrap>yes</wrap>
</action>
</keybind>
<keybind key="A-Up">
<action name="GoToDesktop">
<to>up</to>
<wrap>yes</wrap>
</action>
</keybind>
<keybind key="A-Down">
<action name="GoToDesktop">
<to>down</to>
<wrap>yes</wrap>
</action>
</keybind>
<keybind key="A-1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="A-2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="A-3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="A-4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>
<!-- applications -->
<keybind key="W-e">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>pcmanfm</name>
</startupnotify>
<command>pcmanfm</command>
</action>
</keybind>
<keybind key="W-t">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>sakura</name>
</startupnotify>
<command>sakura</command>
</action>
</keybind>
<!-- menus -->
<keybind key="W-x">
<action name="ShowMenu">
<menu>xdg-menu</menu>
</action>
</keybind>
<keybind key="W-z">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment