On lock also disable streamdeck

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-06-12 15:51:41 +02:00
parent 869bce3e48
commit 9f3afef374
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -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