From 26136f49018d8bb7d62d51cfa8047fefbcc79ba3 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 27 Sep 2022 15:58:59 +0200 Subject: Dotfiles: River: Swaylock: Add grace period --- dotfiles/river/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/river/init b/dotfiles/river/init index 0ae3bd6..baba3fa 100755 --- a/dotfiles/river/init +++ b/dotfiles/river/init @@ -13,10 +13,10 @@ riverctl spawn "xrdb ~/.Xresources" riverctl spawn "xmodmap ~/.Xmodmap" riverctl spawn "swayidle -w \ - timeout 300 'swaylock --clock --indicator -f -F -c 000000 --ring-color 005577 --key-hl-color 444444' \ + timeout 300 'swaylock --clock --indicator -f -F -c 000000 --ring-color 005577 --key-hl-color 444444 --grace 7' \ timeout 400 'wlr-randr --output $(wlr-randr | head -n1 | awk "{print $1;}") --off' \ resume 'wlr-randr --output $(wlr-randr | head -n1 | awk "{print $1;}") --on' \ - before-sleep 'swaylock --clock --indicator -f -F -c 000000 --ring-color 005577 --key-hl-color 444444'" + before-sleep 'swaylock --clock --indicator -f -F -c 000000 --ring-color 005577 --key-hl-color 444444 --grace 7'" riverctl spawn 'wlsunset -l $(echo $LOCATION | cut -d: -f1) -L $(echo $LOCATION | cut -d: -f2)' riverctl spawn "unclutter" -- cgit 1.4.1