From db264035089420caf01f4629024007288be48dfe Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 26 Aug 2020 13:36:45 +0200 Subject: [PATCH] xss-lock: clear modifiers when calling XF86AudioStop Otherwise, when using Mod4+Del to lock, it won't stop audio player since it issues Mod4+XF86AudioStop. --- bin/xss-lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xss-lock b/bin/xss-lock index c42a071..6b0b525 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -37,7 +37,7 @@ case "$1" in # Something may have mendled with screensaver settings configure # First, stop any music player - xdotool key XF86AudioStop + xdotool key --clearmodifiers XF86AudioStop # Then, lock screen echo "lock: lock screen" systemctl --user stop compton@${display}.service