fix lock.sh script
This commit is contained in:
@@ -11,9 +11,9 @@ fi
|
|||||||
|
|
||||||
amount_of_outputs=$(swaymsg -t get_outputs | grep -i name | wc -l)
|
amount_of_outputs=$(swaymsg -t get_outputs | grep -i name | wc -l)
|
||||||
|
|
||||||
|
swaymsg output eDP-1 disable
|
||||||
|
|
||||||
if [[ "$amount_of_outputs" == "1" ]]; then
|
if [[ "$amount_of_outputs" == "1" ]]; then
|
||||||
playerctl pause
|
playerctl pause
|
||||||
__lock
|
__lock
|
||||||
else
|
|
||||||
swaymsg output eDP-1 disable
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user