aboutsummaryrefslogtreecommitdiff
path: root/swob-swayconfig
diff options
context:
space:
mode:
Diffstat (limited to 'swob-swayconfig')
-rw-r--r--swob-swayconfig11
1 files changed, 6 insertions, 5 deletions
diff --git a/swob-swayconfig b/swob-swayconfig
index 969326b..b74c114 100644
--- a/swob-swayconfig
+++ b/swob-swayconfig
@@ -1,5 +1,6 @@
-bindsym XF86MonBrightnessDown exec swob.sh brightness 5%-
-bindsym XF86MonBrightnessUp exec swob.sh brightness 5%+
-bindsym XF86AudioLowerVolume exec swob.sh volume 5%-
-bindsym XF86AudioRaiseVolume exec swob.sh volume 5%+
-bindsym XF86AudioMute exec swob.sh volume toggle
+# `exec exec' prevents pointless extra shell process
+bindsym --locked XF86MonBrightnessDown exec exec swob.sh brightness 5%-
+bindsym --locked XF86MonBrightnessUp exec exec swob.sh brightness 5%+
+bindsym --locked XF86AudioLowerVolume exec exec swob.sh volume 5%-
+bindsym --locked XF86AudioRaiseVolume exec exec swob.sh volume 5%+
+bindsym --locked XF86AudioMute exec exec swob.sh volume toggle