scripts

Utility script that make my life slightly easier
Log | Files | Refs | README | LICENSE

keybindings.xml (1988B)


      1 <!--
      2   Personal Setup for Openbox keybindings file
      3   "keybindings.xml"
      4   M. Yamanaka
      5   email: myamanaka@live.com
      6   website: csmyamanaka.com
      7   license: MIT (See included "LICENSE" file for details)
      8 -->
      9 
     10 <!--
     11   This a section of the openbox config where the keybindings are set.
     12   You may have noticed that these keybindings recreate those used common
     13   in window managers like XMonad and suckless's dwm.
     14   This is because dwm and xmonad are my favourite window managers and I
     15   hope that anyone using this openbox setup may gain some familiarity
     16   with dwm and xmonad without having to use them right away. Once one is
     17   comfortable in this environment, I believe that it may be beneficial for
     18   them to eventually migrate to dwm or xmonad due to their minimalism
     19   and their customizability.
     20 -->
     21 
     22 <keyboard>
     23   <keybind key="W-1">
     24     <action name="GoToDesktop"><to>1</to></action>
     25   </keybind>
     26   <keybind key="W-2">
     27     <action name="GoToDesktop"><to>2</to></action>
     28   </keybind>
     29   <keybind key="W-3">
     30     <action name="GoToDesktop"><to>3</to></action>
     31   </keybind>
     32   <keybind key="W-4">
     33     <action name="GoToDesktop"><to>4</to></action>
     34   </keybind>
     35 
     36   <keybind key="W-S-c">
     37     <action name="Close"></action>
     38   </keybind>
     39   <keybind key="W-p">
     40     <action name="Execute">
     41       <command>rofi -show run</command>
     42     </action>
     43   </keybind>
     44   <keybind key="W-S-p">
     45     <action name="Execute">
     46       <command>rofi -show drun</command>
     47     </action>
     48   </keybind>
     49   <keybind key="W-S-l">
     50     <action name="Execute">
     51       <command>sh ~/.local/scripts/lockscr.sh</command>
     52     </action>
     53   </keybind>
     54   <keybind key="W-Up">
     55     <action name="Execute">
     56       <command>pactl set-sink-volume 0 +5%</command>
     57     </action>
     58   </keybind>
     59   <keybind key="W-Down">
     60     <action name="Execute">
     61       <command>pactl set-sink-volume 0 -5%</command>
     62     </action>
     63   </keybind>
     64   <keybind key="W-S-Return">
     65     <action name="Execute">
     66       <command>urxvt</command>
     67     </action>
     68   </keybind>
     69 </keyboard>

Generated using stagit (https://codemadness.org/stagit.html)