diff options
Diffstat (limited to 'scripts/set_background')
| -rwxr-xr-x | scripts/set_background | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/set_background b/scripts/set_background deleted file mode 100755 index 0dd7347..0000000 --- a/scripts/set_background +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/fish -if test (count $argv) -lt 1; or not test -f $argv[1] - echo "Usage: $(status filename) <img>" - exit 1 -end - -wallust run $argv[1] -Ts; and begin - niri msg action do-screen-transition - set -U IMG $argv[1] & - wallust -q run $IMG & - killall swaybg ; swaybg -i $IMG -m fill & - makoctl reload & - notify-send -i $IMG "Wallust" "Changed wallpaper and palette." -end; or begin - notify-send -i $argv[1] -u critical "Wallust" "Failed to change palette" -end; - |
