From a5d2c8d5d646673864c11f46d49412aa1c2ebae7 Mon Sep 17 00:00:00 2001 From: ericmarin Date: Wed, 29 Apr 2026 21:12:05 +0200 Subject: changed wallpapermenu script --- scripts/wallpapermenu | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/wallpapermenu b/scripts/wallpapermenu index 1ddf308..a67e6fd 100755 --- a/scripts/wallpapermenu +++ b/scripts/wallpapermenu @@ -5,10 +5,9 @@ if test -z $argv[1] else set chosen ( for file in (fd . $argv[1] -t f -d 1) - if test -z $IMG; or test $file != $IMG - echo -en "$file\0icon\x1fthumbnail://$file\n" - end + echo -en "$file\0icon\x1fthumbnail://$file\n" end | rofi -dmenu -p " " -show-icons -theme ~/.config/rofi/wallpapermenu.rasi) - - ~/.config/scripts/set_background (echo $chosen) + if test $chosen != $IMG + ~/.config/scripts/set_background (echo $chosen) + end end -- cgit v1.2.3