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}" & resume "${(q)ENABLE_DISPLAYS} {$ignored_args}" &
swayidle_pid="${!}" swayidle_pid="${!}"
else else
swayidle -w -C /dev/null timeout 15 "systemctl sleep" & swayidle -w -C /dev/null timeout 15 "systemctl suspend" &
swayidle_pid="${!}" swayidle_pid="${!}"
fi fi
swaylock ${empty_flag} ${img_flags} swaylock ${empty_flag} ${img_flags}