mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
85 lines
2.5 KiB
XML
85 lines
2.5 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||
|
|
<keyboard>
|
||
|
|
<!-- Keyboard layout. See `man xkeyboard-config` for more information -->
|
||
|
|
<!-- You can use the XKB_* environment variables instead -->
|
||
|
|
<!-- <keyboardLayout>
|
||
|
|
<model>105</model>
|
||
|
|
<layout>us</layout>
|
||
|
|
<options>ctrl:swapcaps,esperanto:dvorak,lv3:ralt_switch_multikey</options>
|
||
|
|
<rules>evdev</rules>
|
||
|
|
<variant>dvorak</variant>
|
||
|
|
</keyboardLayout> -->
|
||
|
|
<keybind key="W-Return">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>terminal</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<!-- Keybindings for windows -->
|
||
|
|
<keybind key="A-F4">
|
||
|
|
<action name="Close"/>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="C-Escape">
|
||
|
|
<action name="Exit"/>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="Print">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>grim "$(xdg-user-dir PICTURES)/$(date +'%Y-%m-%d-%H%M%S_grim_fs.png')"</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<!-- Keybindings for window switching -->
|
||
|
|
<keybind key="A-Tab">
|
||
|
|
<action name="NextWindow">
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="A-S-ISO_Left_Tab">
|
||
|
|
<action name="PreviousWindow">
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="C-A-Tab">
|
||
|
|
<action name="NextWindow">
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<!-- Keybindings for running applications -->
|
||
|
|
<keybind key="A-F2">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>obrun l</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="W-c">
|
||
|
|
<action name="Reconfigure"/>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="W-e">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>konqueror || falkon</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="W-o">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>terminal -e mc</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="W-w">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>x-www-browser</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<!-- Media keys -->
|
||
|
|
<keybind key="XF86AudioMute">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>amixer -c 0 -D pulse -q sset Master toggle</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="XF86AudioLowerVolume">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>amixer -c 0 -q set Master 3%-</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
<keybind key="XF86AudioRaiseVolume">
|
||
|
|
<action name="Execute">
|
||
|
|
<execute>amixer -c 0 -q set Master 3%+</execute>
|
||
|
|
</action>
|
||
|
|
</keybind>
|
||
|
|
</keyboard>
|
||
|
|
</openbox_config>
|