From d271f907a15945c87f491965370cebf720e5e694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 19 Feb 2025 10:34:32 +0300 Subject: setbg: add screen transition for niri Just so some animated eye candy because why not. --- dotfiles/.local/bin/setbg | 1 + 1 file changed, 1 insertion(+) (limited to 'dotfiles/.local') diff --git a/dotfiles/.local/bin/setbg b/dotfiles/.local/bin/setbg index 2e6dfba..bc8b8a2 100755 --- a/dotfiles/.local/bin/setbg +++ b/dotfiles/.local/bin/setbg @@ -10,6 +10,7 @@ cp "$1" "$dest" if [ -n "$SWAYSOCK" ]; then updisplay elif [ -n "$NIRI_SOCKET" ]; then + niri msg action do-screen-transition -d 200 killall swaybg setsid swaybg -i "$dest" -m fill& fi -- cgit v1.2.3