Merge pull request #47 from noirecat/master

add snap feature, resize and move keybind to rc.xml
This commit is contained in:
Nathaniel 2018-03-25 03:27:50 -07:00 committed by GitHub
commit 0a104cc064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,6 +158,153 @@
<action name="raise"/> <action name="raise"/>
</finalactions> </finalactions>
</action> </action>
</keybind>
<!-- Window Tiling: Snap feature -->
<keybind key="W-Left">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-Right">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdgeEast"/>
</keybind>
<keybind key="W-F">
<action name="MaximizeFull"/>
</keybind>
<keybind key="W-S-F">
<action name="UnmaximizeFull"/>
</keybind>
<keybind key="W-S-k">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-15</x>
<y>15</y>
<height>96%</height>
<width>47%</width>
</action>
</keybind>
<keybind key="W-S-j">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>15</x>
<y>15</y>
<height>96%</height>
<width>47%</width>
</action>
</keybind>
<!-- Top right-->
<keybind key="W-k">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-15</x>
<y>15</y>
</action>
</keybind>
<!-- Top left-->
<keybind key="W-h">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>15</x>
<y>15</y>
</action>
</keybind>
<!-- Bottom left-->
<keybind key="W-j">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>15</x>
<y>-15</y>
</action>
</keybind>
<!-- Bottom right-->
<keybind key="W-l">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-15</x>
<y>-15</y>
</action>
</keybind>
<keybind key="W-z">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>15</x>
<y>15</y>
<height>97%</height>
<width>32%</width>
</action>
</keybind>
<keybind key="W-x">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>34%</x>
<y>15</y>
<height>97%</height>
<width>32%</width>
</action>
</keybind>
<keybind key="W-c">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>-17</x>
<y>15</y>
<height>97%</height>
<width>32%</width>
</action>
</keybind>
<!-- Move -->
<keybind key="W-Right">
<action name="MoveRelative">
<x>20</x>
<y>0</y>
</action>
</keybind>
<keybind key="W-Left">
<action name="MoveRelative">
<x>-20</x>
<y>0</y>
</action>
</keybind>
<keybind key="W-Up">
<action name="MoveRelative">
<x>0</x>
<y>-20</y>
</action>
</keybind>
<keybind key="W-Down">
<action name="MoveRelative">
<x>0</x>
<y>20</y>
</action>
</keybind>
<!-- Resize -->
<keybind key="W-S-Right">
<action name="ResizeRelative">
<right>20</right>
</action>
</keybind>
<keybind key="W-S-Left">
<action name="ResizeRelative">
<right>-20</right>
</action>
</keybind>
<keybind key="W-S-Down">
<action name="ResizeRelative">
<bottom>20</bottom>
</action>
</keybind>
<keybind key="W-S-Up">
<action name="ResizeRelative">
<bottom>-20</bottom>
</action>
</keybind> </keybind>
<keybind key="S-W-Left"> <keybind key="S-W-Left">
<action name="SendToDesktopLeft"/> <action name="SendToDesktopLeft"/>