From cdef3ff80cbddb77bfebc2d0b2fb732459ae7af3 Mon Sep 17 00:00:00 2001
From: Yaroslav de la Peña Smirnov <yps@yaroslavps.com>
Date: Sun, 3 Nov 2024 17:34:30 +0300
Subject: niri: hotkeys, window rules, lock screen timeout

---
 dotfiles/.local/bin/lock-color | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'dotfiles/.local/bin')

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
 
-- 
cgit v1.2.3