mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-14 06:48:31 +02:00
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.
This commit is contained in:
parent
5ff910e5bd
commit
db26403508
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ case "$1" in
|
||||||
# Something may have mendled with screensaver settings
|
# Something may have mendled with screensaver settings
|
||||||
configure
|
configure
|
||||||
# First, stop any music player
|
# First, stop any music player
|
||||||
xdotool key XF86AudioStop
|
xdotool key --clearmodifiers XF86AudioStop
|
||||||
# Then, lock screen
|
# Then, lock screen
|
||||||
echo "lock: lock screen"
|
echo "lock: lock screen"
|
||||||
systemctl --user stop compton@${display}.service
|
systemctl --user stop compton@${display}.service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue