Skip to content

Commit

Permalink
openbox rc.xml - yet another idea for keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mslehto committed Jun 7, 2017
1 parent 30b8577 commit 40bb934
Showing 1 changed file with 29 additions and 51 deletions.
80 changes: 29 additions & 51 deletions config/openbox/rc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@
<action name="MoveToEdge"><direction>south</direction></action>
</keybind>

<keybind key="A-w">
<!-- vi inspired keybindings for desktop switching -->
<keybind key="A-Escape">
<keybind key="l">
<action name="GoToDesktop">
<to>east</to>
Expand All @@ -266,6 +267,31 @@
<to>last</to>
</action>
</keybind>
<keybind key="F1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="F2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="F3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="F4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>
<keybind key="F5">
<action name="GoToDesktop">
<to>5</to>
</action>
</keybind>
</keybind>

<keybind key="W-F10">
Expand All @@ -274,31 +300,7 @@
</action>
</keybind>
<chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching -->
<keybind key="C-A-Left">
<action name="GoToDesktop">
<to>left</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Right">
<action name="GoToDesktop">
<to>right</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Up">
<action name="GoToDesktop">
<to>up</to>
<wrap>no</wrap>
</action>
</keybind>
<keybind key="C-A-Down">
<action name="GoToDesktop">
<to>down</to>
<wrap>no</wrap>
</action>
</keybind>

<keybind key="S-A-Left">
<action name="SendToDesktop">
<to>left</to>
Expand All @@ -323,38 +325,14 @@
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-F1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="W-F2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="W-F3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="W-F4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>

<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<!-- Keybindings for windows -->
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="A-Escape">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
Expand Down

0 comments on commit 40bb934

Please sign in to comment.