aboutsummaryrefslogtreecommitdiff
path: root/swob-swayconfig
diff options
context:
space:
mode:
authorLibravatar remph <lhr@disroot.org>2024-10-31 18:26:08 +0000
committerLibravatar remph <lhr@disroot.org>2024-11-03 02:49:53 +0000
commit075e8ac472403934f4ca383beae2cd9ac555f71a (patch)
tree0b15f8fcbea9017b5d361b6733fd3d594bee751c /swob-swayconfig
parentb07d54a12e7d42228093d0da7365617defd042e6 (diff)
Minor changes:
* Allow changing volume/brightness while locked in Sway * Ensure separate wob instance for each WAYLAND_DISPLAY * Update copyright, mostly for other branches based on this
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