Skip to content

Instantly share code, notes, and snippets.

@shime
Created November 6, 2014 17:10
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shime/180c335876b001cb9f99 to your computer and use it in GitHub Desktop.
Save shime/180c335876b001cb9f99 to your computer and use it in GitHub Desktop.
openbox shortcuts for window management
<keyboard>
<!-- resize windows with Alt + Direction -->
<keybind key="A-Right">
<action name="GrowToEdgeEast"/>
</keybind>
<keybind key="A-Left">
<action name="GrowToEdgeWest"/>
</keybind>
<keybind key="A-Down">
<action name="GrowToEdgeSouth"/>
</keybind>
<keybind key="A-Up">
<action name="GrowToEdgeNorth"/>
</keybind>
<!-- move windows with Ctrl + Direction -->
<keybind key="C-Right"><action name="MoveResizeTo"><x>-0</x></action></keybind>
<keybind key="C-Left"><action name="MoveResizeTo"><x>0</x></action></keybind>
<keybind key="C-Down"><action name="MoveResizeTo"><y>-0</y></action></keybind>
<keybind key="C-Up"><action name="MoveResizeTo"><y>0</y></action></keybind>
</keyboard>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment