aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/swaysession
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-01-21 23:06:45 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-01-21 23:06:45 +0300
commit468fe47bd83e05dd60100a049362b16efa40ca31 (patch)
tree9f2d286599f6928d442be7df63be18df43d4e5a0 /dotfiles/.local/bin/swaysession
parent9319495bfd2742d82495c6a73ce90493444c24df (diff)
downloadswayrice-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/bin/swaysession')
-rwxr-xr-xdotfiles/.local/bin/swaysession2
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