From a15c537f608db166f734d3a7e8d3c68bf17f55d7 Mon Sep 17 00:00:00 2001 From: ericmarin Date: Mon, 30 Mar 2026 17:32:31 +0200 Subject: changes --- scripts/set_random | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/set_random') diff --git a/scripts/set_random b/scripts/set_random index 894361c..52dbab4 100755 --- a/scripts/set_random +++ b/scripts/set_random @@ -6,9 +6,8 @@ if test (count $argv) -lt 1; or not test -d $argv[1] end ~/.config/scripts/set_background ( - for file in (fd . $argv[1] -t f) + for file in (fd . $argv[1] -t f -d 1) if test -z $IMG; or test $file != $IMG echo (math (random) % 1000)":$file" end end | sort -n | head -n 1 | cut -d ':' -f2) - -- cgit v1.2.3