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}" &
|
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}
|
||||||
|
|||||||
Reference in New Issue
Block a user