Skip to content

Instantly share code, notes, and snippets.

@msr1k
Last active February 27, 2022 03:48
Show Gist options
  • Save msr1k/bacf535243923677f3d9167f4404c940 to your computer and use it in GitHub Desktop.
Save msr1k/bacf535243923677f3d9167f4404c940 to your computer and use it in GitHub Desktop.
lxde key configuration to tiling windows
<!-- Window tiling key bindings (added) -->
<keybind key="C-A-4"> # HalfLeftScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><height>100%</height><width>50%</width></action>
</keybind>
<keybind key="C-A-6"> # HalfRightScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>50%</x><y>0</y><height>100%</height><width>50%</width></action>
</keybind>
<keybind key="C-A-8"> # HalfUpperScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><width>100%</width><height>50%</height></action>
</keybind>
<keybind key="C-A-2"> # HalfLowerScreen
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>50%</y><width>100%</width><height>50%</height></action>
</keybind>
<keybind key="C-A-5"> # 50% width, height
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>center</x><y>center</y><width>50%</width><height>100%</height></action>
</keybind>
<keybind key="C-A-7"> # Upper left corner
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>0</y><height>50%</height><width>50%</width></action>
</keybind>
<keybind key="C-A-9"> # Upper right corner
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>50%</x><y>0</y><height>50%</height><width>50%</width></action>
</keybind>
<keybind key="C-A-1"> # Lower left corner
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>0</x><y>50%</y><height>50%</height><width>50%</width></action>
</keybind>
<keybind key="C-A-3"> # Lower right corner
<action name="Unmaximize"/>
<action name="MoveResizeTo"><x>50%</x><y>50%</y><height>50%</height><width>50%</width></action>
</keybind>
<keybind key="C-A-w"> # Center on screen
<action name="MoveResizeTo"><x>center</x><y>center</y></action>
</keybind>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment