aboutsummaryrefslogtreecommitdiff
path: root/swob-swayconfig
diff options
context:
space:
mode:
authorLibravatar remph <lhr@disroot.org>2024-11-15 02:29:00 +0000
committerLibravatar remph <lhr@disroot.org>2024-11-15 02:29:00 +0000
commitf42cb4b553c65da0b925c48504ec47e5d1a5e6fb (patch)
tree37378f534a824c1110748fbde74eafe44eb92642 /swob-swayconfig
parentc9d15be9602603d34e457818f150b23d0666e77b (diff)
parent549e328b61c44bc6fe244f14a4eeaf1bfa464a9b (diff)
Merge branch 'master' into other-audio-types
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