diff options
Diffstat (limited to 'dotfiles/.local/bin/lock-color')
-rwxr-xr-x | dotfiles/.local/bin/lock-color | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dotfiles/.local/bin/lock-color b/dotfiles/.local/bin/lock-color index fbf678f..23efb78 100755 --- a/dotfiles/.local/bin/lock-color +++ b/dotfiles/.local/bin/lock-color @@ -5,12 +5,12 @@ if [ -n "$SWAYSOCK" ]; then if [ "$1" != "screenon" ]; then echo idling - swayidle timeout 30 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' & + swayidle timeout 15 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' & fi elif [ -n "$NIRI_SOCKET" ]; then if [ "$1" != "screenon" ]; then - echo idling - swayidle timeout 3 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' & + echo idling + swayidle timeout 15 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' & fi fi |