Change sleep to suspend in swayidle-lock-screen

This commit is contained in:
2025-11-29 16:42:30 -08:00
parent 0cbff84080
commit e2701eda3e

View File

@ -36,7 +36,7 @@ function run {
resume "${(q)ENABLE_DISPLAYS} {$ignored_args}" &
swayidle_pid="${!}"
else
swayidle -w -C /dev/null timeout 15 "systemctl sleep" &
swayidle -w -C /dev/null timeout 15 "systemctl suspend" &
swayidle_pid="${!}"
fi
swaylock ${empty_flag} ${img_flags}