This commit is contained in:
Stephan Raabe
2023-09-18 20:08:25 +02:00
parent 2e8afef36d
commit d1c93ca2d8
2 changed files with 15 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
if [ -f "/usr/bin/swayidle" ]; then
echo "swayidle is installed."
swayidle -w timeout 60 'swaylock -f' timeout 100 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
swayidle -w timeout 300 'swaylock -f' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
else
echo "swayidle not installed."
fi;