On lock also disable streamdeck
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
869bce3e48
commit
9f3afef374
1 changed files with 6 additions and 0 deletions
6
bin/lock
6
bin/lock
|
@ -6,4 +6,10 @@ set -euo pipefail
|
|||
# Stop MPD playback when mpc client was found
|
||||
(which mpc >/dev/null 2>&1) && mpc stop
|
||||
|
||||
# Disable streamdeck to disallow input
|
||||
systemctl --user stop streamdeck
|
||||
|
||||
i3lock -e -f -n -i ${HOME}/.local/share/screen-lock.png
|
||||
|
||||
# Restart streamdeck again
|
||||
systemctl --user start streamdeck
|
||||
|
|
Loading…
Reference in a new issue