diff options
Diffstat (limited to '')
| -rwxr-xr-x | mirenn/home/files/dotfiles/.config/scripts/set_background (renamed from scripts/set_background) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/set_background b/mirenn/home/files/dotfiles/.config/scripts/set_background index 0dd7347..7fea3d9 100755 --- a/scripts/set_background +++ b/mirenn/home/files/dotfiles/.config/scripts/set_background @@ -1,7 +1,8 @@ -#!/usr/bin/fish +#!/usr/bin/env fish + if test (count $argv) -lt 1; or not test -f $argv[1] - echo "Usage: $(status filename) <img>" - exit 1 + echo "Usage: $(status filename) <img>" + exit 1 end wallust run $argv[1] -Ts; and begin |
