Module Name: xsrc
Committed By: nia
Date: Thu Sep 24 05:38:16 UTC 2020
Modified Files:
xsrc/external/mit/ctwm/dist: system.ctwmrc
Log Message:
volume key bindings
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 xsrc/external/mit/ctwm/dist/system.ctwmrc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/ctwm/dist/system.ctwmrc
diff -u xsrc/external/mit/ctwm/dist/system.ctwmrc:1.7 xsrc/external/mit/ctwm/dist/system.ctwmrc:1.8
--- xsrc/external/mit/ctwm/dist/system.ctwmrc:1.7 Wed Sep 23 15:32:13 2020
+++ xsrc/external/mit/ctwm/dist/system.ctwmrc Thu Sep 24 05:38:16 2020
@@ -1,5 +1,5 @@
#
-# $NetBSD: system.ctwmrc,v 1.7 2020/09/23 15:32:13 nia Exp $
+# $NetBSD: system.ctwmrc,v 1.8 2020/09/24 05:38:16 nia Exp $
#
# ctwmrc by nia
#
@@ -326,6 +326,10 @@ Button3 = mod4 : window : f.resize
"8" = mod4 : all : f.gotoworkspace "8"
"9" = mod4 : all : f.gotoworkspace "9"
+"XF86AudioRaiseVolume" = : all : !"mixerctl -w outputs.master+=5"
+"XF86AudioLowerVolume" = : all : !"mixerctl -w outputs.master-=5"
+"XF86AudioMute" = : all : !"mixerctl -w outputs.master=0"
+
#
# "Windows" style keyboard shortcuts
#