diff --git a/bin/lock.sh b/bin/lock.sh index 533b608..e451870 100755 --- a/bin/lock.sh +++ b/bin/lock.sh @@ -7,6 +7,7 @@ __lock() { amount_of_outputs=$(swaymsg -t get_outputs | grep -i name | wc -l) if [[ "$amount_of_outputs" == "1" ]]; then + playerctl pause __lock else swaymsg output eDP-1 disable