summaryrefslogtreecommitdiff
path: root/skel-lxde
diff options
context:
space:
mode:
Diffstat (limited to 'skel-lxde')
-rw-r--r--skel-lxde/.config/openbox/lxde-rc.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/skel-lxde/.config/openbox/lxde-rc.xml b/skel-lxde/.config/openbox/lxde-rc.xml
index f9c72d5..55659fb 100644
--- a/skel-lxde/.config/openbox/lxde-rc.xml
+++ b/skel-lxde/.config/openbox/lxde-rc.xml
@@ -295,6 +295,37 @@
<command>gnome-screenshot --interactive</command>
</action>
</keybind>
+
+ <!-- Volume Control with Fn Keys -->
+ <keybind key="XF86AudioLowerVolume">
+ <action name="Execute">
+ <startupnotify>
+ <enabled>true</enabled>
+ <name>volumedown</name>
+ </startupnotify>
+ <command>amixer -c 0 set Master 5%- unmute</command>
+ </action>
+ </keybind>
+
+ <keybind key="XF86AudioRaiseVolume">
+ <action name="Execute">
+ <startupnotify>
+ <enabled>true</enabled>
+ <name>volumeup</name>
+ </startupnotify>
+ <command>amixer -c 0 set Master 5%+ unmute</command>
+ </action>
+ </keybind>
+
+ <keybind key="XF86AudioMute">
+ <action name="Execute">
+ <startupnotify>
+ <enabled>true</enabled>
+ <name>volumedown</name>
+ </startupnotify>
+ <command>amixer -c 0 set Master toggle</command>
+ </action>
+ </keybind>
</keyboard>