Add keys like XF86AudioMute to two-panel config template for 'volume' plugin.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Fri, 4 Nov 2016 11:29:06 +0000 (13:29 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Fri, 4 Nov 2016 11:29:06 +0000 (13:29 +0200)
If those keys are available then volume plugin will use them.

data/two_panels/panels/top.in

index 8cdbb8f..647bf3b 100644 (file)
@@ -77,6 +77,11 @@ Plugin {
 
 Plugin {
     type = volume
+    Config {
+        VolumeMuteKey = XF86AudioMute
+        VolumeDownKey = XF86AudioLowerVolume
+        VolumeUpKey = XF86AudioRaiseVolume
+    }
 }
 
 Plugin {