Commit d8fcafb7 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Changed Alt-... mousebindings to use windows key. Added W-doubleclick with...

Changed Alt-... mousebindings to use windows key.  Added W-doubleclick with toggle maximise.  Added a few i3 "like" shortcuts.
parent 421bed59
...@@ -264,6 +264,9 @@ ...@@ -264,6 +264,9 @@
<desktop>1</desktop> <desktop>1</desktop>
</action> </action>
</keybind> </keybind>
<keybind key="W-x">
<action name="ToggleShowDesktop"/>
</keybind>
<keybind key="W-1"> <keybind key="W-1">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>1</to> <to>1</to>
...@@ -289,6 +292,9 @@ ...@@ -289,6 +292,9 @@
<command>rofi -modi window,drun,run -show drun</command> <command>rofi -modi window,drun,run -show drun</command>
</action> </action>
</keybind> </keybind>
<keybind key="S-W-q">
<action name="Close"/>
</keybind>
<keybind key="A-F4"> <keybind key="A-F4">
<action name="Close"/> <action name="Close"/>
</keybind> </keybind>
...@@ -302,6 +308,11 @@ ...@@ -302,6 +308,11 @@
<menu>client-menu</menu> <menu>client-menu</menu>
</action> </action>
</keybind> </keybind>
<keybind key="W-Tab">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</keybind>
<keybind key="A-Tab"> <keybind key="A-Tab">
<action name="NextWindow"/> <action name="NextWindow"/>
</keybind> </keybind>
...@@ -340,30 +351,43 @@ ...@@ -340,30 +351,43 @@
<!-- Set this to TRUE to move the mouse pointer across the desktop when <!-- Set this to TRUE to move the mouse pointer across the desktop when
switching due to hitting the edge of the screen --> switching due to hitting the edge of the screen -->
<context name="Frame"> <context name="Frame">
<mousebind action="Press" button="A-Left"> <mousebind action="Press" button="S-W-Middle">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="S-W-Right">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="W-Left">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
</mousebind> </mousebind>
<mousebind action="Click" button="A-Left"> <mousebind action="Click" button="W-Left">
<action name="ToggleMaximize"/>
</mousebind>
<mousebind action="Click" button="W-Left">
<action name="Unshade"/> <action name="Unshade"/>
</mousebind> </mousebind>
<mousebind action="Drag" button="A-Left"> <mousebind action="Drag" button="W-Left">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind action="Press" button="A-Right"> <mousebind action="Press" button="W-Right">
<action name="Focus"/> <action name="Focus"/>
<action name="Raise"/> <action name="Raise"/>
<action name="Unshade"/> <action name="Unshade"/>
</mousebind> </mousebind>
<mousebind action="Drag" button="A-Right"> <mousebind action="Drag" button="W-Right">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind action="Press" button="A-Middle"> <mousebind action="Press" button="W-Middle">
<action name="Lower"/> <action name="Lower"/>
<action name="FocusToBottom"/> <action name="FocusToBottom"/>
<action name="Unfocus"/> <action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind action="Click" button="A-Up"> <!--<mousebind action="Click" button="A-Up">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>previous</to> <to>previous</to>
</action> </action>
...@@ -371,8 +395,8 @@ ...@@ -371,8 +395,8 @@
<mousebind action="Click" button="A-Down"> <mousebind action="Click" button="A-Down">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>next</to> <to>next</to>
</action> </action>
</mousebind> </mousebind>-->
<mousebind action="Click" button="C-A-Up"> <mousebind action="Click" button="C-A-Up">
<action name="GoToDesktop"> <action name="GoToDesktop">
<to>previous</to> <to>previous</to>
...@@ -383,12 +407,12 @@ ...@@ -383,12 +407,12 @@
<to>next</to> <to>next</to>
</action> </action>
</mousebind> </mousebind>
<mousebind action="Click" button="A-S-Up"> <mousebind action="Click" button="W-S-Up">
<action name="SendToDesktop"> <action name="SendToDesktop">
<to>previous</to> <to>previous</to>
</action> </action>
</mousebind> </mousebind>
<mousebind action="Click" button="A-S-Down"> <mousebind action="Click" button="W-S-Down">
<action name="SendToDesktop"> <action name="SendToDesktop">
<to>next</to> <to>next</to>
</action> </action>
...@@ -637,6 +661,16 @@ ...@@ -637,6 +661,16 @@
<menu>root-menu</menu> <menu>root-menu</menu>
</action> </action>
</mousebind> </mousebind>
<mousebind action="Press" button="W-S-Middle">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="W-S-Right">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context> </context>
<context name="MoveResize"> <context name="MoveResize">
<mousebind action="Click" button="Up"> <mousebind action="Click" button="Up">
...@@ -782,4 +816,4 @@ ...@@ -782,4 +816,4 @@
# end of the example # end of the example
--> -->
</applications> </applications>
</openbox_config> </openbox_config>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment