diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-01-19 16:11:29 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-01-19 16:11:29 +0300 |
commit | d32c0eeeb68197ef7cd3e2e7a6b9b4f803b58a28 (patch) | |
tree | a0c359cf7235809905bdca36795bb3d18b1c5d96 /dotfiles | |
parent | b9f713a12864bbbcc07cd7cb4ab1d1efcf1aae1a (diff) | |
download | swayrice-d32c0eeeb68197ef7cd3e2e7a6b9b4f803b58a28.tar.gz swayrice-d32c0eeeb68197ef7cd3e2e7a6b9b4f803b58a28.zip |
lock: add screen transition delay
Diffstat (limited to 'dotfiles')
-rwxr-xr-x | dotfiles/.local/bin/lock-color | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/lock-color b/dotfiles/.local/bin/lock-color index 6d0cb2b..ce008a4 100755 --- a/dotfiles/.local/bin/lock-color +++ b/dotfiles/.local/bin/lock-color @@ -8,7 +8,7 @@ if [ -n "$SWAYSOCK" ]; then swayidle timeout 15 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' & fi elif [ -n "$NIRI_SOCKET" ]; then - niri msg action do-screen-transition + niri msg action do-screen-transition -d 700 if [ "$1" != "screenon" ]; then echo idling swayidle timeout 15 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' & |