diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-02-19 10:34:32 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-02-19 10:34:32 +0300 |
commit | d271f907a15945c87f491965370cebf720e5e694 (patch) | |
tree | 2b677395113de79e683e9091014b0f549c3be8dc | |
parent | 0db3e9414e5a59fc32648819d57d917ceaa6e427 (diff) | |
download | swayrice-d271f907a15945c87f491965370cebf720e5e694.tar.gz swayrice-d271f907a15945c87f491965370cebf720e5e694.zip |
setbg: add screen transition for niriniri
Just so some animated eye candy because why not.
-rwxr-xr-x | dotfiles/.local/bin/setbg | 1 |
1 files changed, 1 insertions, 0 deletions
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 |