summaryrefslogtreecommitdiff
path: root/.config/openbox/rc.xml
diff options
context:
space:
mode:
Diffstat (limited to '.config/openbox/rc.xml')
-rw-r--r--.config/openbox/rc.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml
index cc74131..171913f 100644
--- a/.config/openbox/rc.xml
+++ b/.config/openbox/rc.xml
@@ -175,6 +175,46 @@
</dock>
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
+ <!-- Keybindings for window tiling -->
+ <keybind key="W-Up">
+ <action name="ToggleMaximize" />
+ </keybind>
+ <keybind key="W-A-Up">
+ <action name="Unmaximize" />
+ <action name="MoveResizeTo">
+ <x>0</x>
+ <y>0</y>
+ <width>100%</width>
+ <height>50%</height>
+ </action>
+ </keybind>
+ <keybind key="W-A-Right">
+ <action name="Unmaximize" />
+ <action name="MoveResizeTo">
+ <x>-0</x>
+ <y>0</y>
+ <width>50%</width>
+ <height>100%</height>
+ </action>
+ </keybind>
+ <keybind key="W-A-Down">
+ <action name="Unmaximize" />
+ <action name="MoveResizeTo">
+ <x>0</x>
+ <y>-0</y>
+ <width>100%</width>
+ <height>50%</height>
+ </action>
+ </keybind>
+ <keybind key="W-A-Left">
+ <action name="Unmaximize" />
+ <action name="MoveResizeTo">
+ <x>0</x>
+ <y>0</y>
+ <width>50%</width>
+ <height>100%</height>
+ </action>
+ </keybind>
<!-- Keybindings for running applications -->
<keybind key="XF86MonBrightnessUp">
<action name="Execute">