This commit is contained in:
Stephan Raabe
2024-02-22 18:22:12 +01:00
parent 515292ef95
commit a83fde0282
2 changed files with 3 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
source ~/dotfiles/.settings/swayidle.sh
if [ -f "/usr/bin/swayidle" ]; then
echo "swayidle is installed."
swayidle -w timeout $timeswaylock 'swaylock -f' timeout $timeoff 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
swayidle -w timeout $timeswaylock 'swaylock -f' timeout $timeoff 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f'
else
echo "swayidle not installed."
fi;