From 4de5a217c25fe83bb54063f8d842b78c9e6d7fb3 Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Thu, 26 Dec 2024 14:33:06 +0100 Subject: wallust --- scripts/set_background | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 scripts/set_background (limited to 'scripts/set_background') diff --git a/scripts/set_background b/scripts/set_background new file mode 100755 index 0000000..41522a0 --- /dev/null +++ b/scripts/set_background @@ -0,0 +1,16 @@ +#!/usr/bin/fish + +if test (count $argv) -lt 1; or not test -f $argv[1] + echo "Usage: $(status filename) " + exit 1 +end + +set -x SWWW_TRANSITION "wipe" +set -x SWWW_TRANSITION_FPS 60 +set -U img $argv[1] + +niri msg action do-screen-transition +swww img $img +wallust run $img +makoctl reload + -- cgit v1.2.3