Hyprland-dotfiles/scripts/lockscreentime.sh
Stephan Raabe d1c93ca2d8 Updates
2023-09-18 20:08:25 +02:00

9 lines
240 B
Bash
Executable File

#/bin/sh
if [ -f "/usr/bin/swayidle" ]; then
echo "swayidle is installed."
swayidle -w timeout 300 'swaylock -f' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
else
echo "swayidle not installed."
fi;