diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-01-21 23:06:45 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-01-21 23:06:45 +0300 |
commit | 468fe47bd83e05dd60100a049362b16efa40ca31 (patch) | |
tree | 9f2d286599f6928d442be7df63be18df43d4e5a0 /dotfiles/.local | |
parent | 9319495bfd2742d82495c6a73ce90493444c24df (diff) | |
download | swayrice-468fe47bd83e05dd60100a049362b16efa40ca31.tar.gz swayrice-468fe47bd83e05dd60100a049362b16efa40ca31.zip |
session: more blur, more time before suspend
Let it finish drawing before putting the computer to sleep, so that the
WM's contents are not visible, even for a brief moment, after waking.
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-x | dotfiles/.local/bin/swaysession | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/swaysession b/dotfiles/.local/bin/swaysession index 218ff43..bdc02c1 100755 --- a/dotfiles/.local/bin/swaysession +++ b/dotfiles/.local/bin/swaysession @@ -26,7 +26,7 @@ case "$1" in dm-tool switch-to-greeter ;; suspend) - lock-color & sleep 1 && $logind suspend + lock-color & sleep 1.5 && $logind suspend ;; hibernate) lock-color & sleep 1 && $logind hibernate |