aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-xdotfiles/.local/bin/lock-color1
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/lock-color b/dotfiles/.local/bin/lock-color
index 23efb78..6d0cb2b 100755
--- a/dotfiles/.local/bin/lock-color
+++ b/dotfiles/.local/bin/lock-color
@@ -8,6 +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
if [ "$1" != "screenon" ]; then
echo idling
swayidle timeout 15 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' &