From 468fe47bd83e05dd60100a049362b16efa40ca31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 21 Jan 2025 23:06:45 +0300 Subject: 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. --- dotfiles/.config/swaylock/config | 2 +- dotfiles/.local/bin/swaysession | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/swaylock/config b/dotfiles/.config/swaylock/config index 664ea71..bb4dec0 100644 --- a/dotfiles/.config/swaylock/config +++ b/dotfiles/.config/swaylock/config @@ -27,6 +27,6 @@ clock indicator image=~/.config/wall1.png datestr=%a, %F -effect-blur=10x3 +effect-blur=10x5 show-keyboard-layout layout-bg-color=#000000bb 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 -- cgit v1.2.3