Update lockman.sh

This commit is contained in:
OdiousImp2604
2021-05-02 14:43:14 +01:00
committed by GitHub
parent 3606522ec2
commit d0125eec5d

View File

@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Times the screen off and puts it to background # Times the screen off and puts it to background
swayidle \ swayidle \
timeout 5 'swaymsg "output * dpms off"' \ timeout 300 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' & resume 'swaymsg "output * dpms on"' &
# Locks the screen immediately # Locks the screen immediately
swaylock swaylock