Skip to content

Instantly share code, notes, and snippets.

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 julien-tremblay-mclellan/37f8370313e6087eb8c6f066c0594f35 to your computer and use it in GitHub Desktop.
Save julien-tremblay-mclellan/37f8370313e6087eb8c6f066c0594f35 to your computer and use it in GitHub Desktop.
resize-window-to-1/4-screen-openbox
<!-- 2019-04-07 23:44:04
Add to your ~/.config/openbox/rc.xml file
Adding 1/4 resizing with openbox-->
<keybind key="W-S-9"> # Resize 1/4 Full screen - TOP LEFT CORNER
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><width>50%</width><height>50%</height></action>
</keybind>
<keybind key="W-S-8"> # Resize 1/4 Full screen - TOP RIGHT CORNER
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo"><x>-0</x><y>0</y><width>50%</width><height>50%</height></action>
</keybind>
<keybind key="W-S-7"> # Resize 1/4 Full screen - BOTTOM RIGHT CORNER
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo"><x>-0</x><y>-0</y><width>50%</width><height>50%</height></action>
</keybind>
<keybind key="W-S-6"> # Resize 1/4 Full screen - BOTTOM LEFT CORNER
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo"><x>0</x><y>-0</y><width>50%</width><height>50%</height></action>
</keybind>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment