From 41347a845f51964839b73eba3b24c95566a74364 Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Sun, 8 Aug 2021 18:33:51 +0200
Subject: [PATCH] Allow volume control while locked

---
 home-profiles/desktop/.config/sway/common | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/home-profiles/desktop/.config/sway/common b/home-profiles/desktop/.config/sway/common
index 44e09a2..ea697c1 100644
--- a/home-profiles/desktop/.config/sway/common
+++ b/home-profiles/desktop/.config/sway/common
@@ -144,11 +144,11 @@ set $audioLowerVolume "pamixer --unmute --decrease 1"
 set $audioRaiseVolume5 "pamixer --unmute --increase 5"
 set $audioLowerVolume5 "pamixer --unmute --decrease 5"
 set $audioToggleMute "pamixer --toggle-mute"
-bindsym XF86AudioRaiseVolume exec $audioRaiseVolume
-bindsym XF86AudioLowerVolume exec $audioLowerVolume
-bindsym Shift+XF86AudioRaiseVolume exec $audioRaiseVolume5
-bindsym Shift+XF86AudioLowerVolume exec $audioLowerVolume5
-bindsym XF86AudioMute exec $audioToggleMute
+bindsym --locked XF86AudioRaiseVolume exec $audioRaiseVolume
+bindsym --locked XF86AudioLowerVolume exec $audioLowerVolume
+bindsym --locked Shift+XF86AudioRaiseVolume exec $audioRaiseVolume5
+bindsym --locked Shift+XF86AudioLowerVolume exec $audioLowerVolume5
+bindsym --locked XF86AudioMute exec $audioToggleMute
 
 # music player control
 bindsym --locked $mod+F1 exec "playerctl --player=%any,chromium play-pause"
-- 
GitLab