Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save planetacomputer/94abe0016ecce18877f5b6c9c3aae7c7 to your computer and use it in GitHub Desktop.
Save planetacomputer/94abe0016ecce18877f5b6c9c3aae7c7 to your computer and use it in GitHub Desktop.
openbox shortcuts
<!-- Window snapping code we are adding -->
<keybind key="Super-Left">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>50%</width>
<height>100%</height>
<x>0%</x>
<y>0%</y>
</action>
</keybind>
<keybind key="Super-Right">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>50%</width>
<height>100%</height>
<x>50%</x>
<y>0%</y>
</action>
</keybind>
<keybind key="Super-Down">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>100%</width>
<height>50%</height>
<x>0%</x>
<y>50%</y>
</action>
</keybind>
<keybind key="Super-Up">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>100%</width>
<height>50%</height>
<x>0%</x>
<y>0%</y>
</action>
</keybind>
<keybind key="Super-A-Up"> # Maximize
<action name="ToggleMaximize"/>
</keybind>
<keybind key="Super-A-Down"> # Minimize
<action name="Iconify"/>
</keybind>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment