Change sleep to suspend in swayidle-lock-screen
This commit is contained in:
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user