diff options
Diffstat (limited to '')
| -rwxr-xr-x | mirenn/home/files/dotfiles/.config/scripts/set_random (renamed from scripts/set_random) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/set_random b/mirenn/home/files/dotfiles/.config/scripts/set_random index 6c4a76d..33cf267 100755 --- a/scripts/set_random +++ b/mirenn/home/files/dotfiles/.config/scripts/set_random @@ -1,8 +1,8 @@ -#!/usr/bin/fish +#!/usr/bin/env fish if test (count $argv) -lt 1; or not test -d $argv[1] - echo "Usage: $(status filename) <dir>" - exit 1 + echo "Usage: $(status filename) <dir>" + exit 1 end ~/.config/scripts/set_background "$(fd -a -t f -d 1 -E "$(basename "$IMG")" -e jpg -e png -e webp . "$argv[1]" | shuf -n1)" |
