diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-27 15:58:59 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-29 13:47:00 +0200 |
commit | 26136f49018d8bb7d62d51cfa8047fefbcc79ba3 (patch) | |
tree | e1d014b94066b27ade6b9e1c2ce86fb49b1fef8b /dotfiles/river | |
parent | Overlays: Base: Override mpv with mpv-with-scrits (diff) | |
download | nixos-config-26136f49018d8bb7d62d51cfa8047fefbcc79ba3.tar.gz nixos-config-26136f49018d8bb7d62d51cfa8047fefbcc79ba3.tar.bz2 nixos-config-26136f49018d8bb7d62d51cfa8047fefbcc79ba3.zip |
Dotfiles: River: Swaylock: Add grace period
Diffstat (limited to '')
-rwxr-xr-x | dotfiles/river/init | 4 |
1 files changed, 2 insertions, 2 deletions
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" |