aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorericmarin <maarin.eric@gmail.com>2026-04-29 21:12:05 +0200
committerericmarin <maarin.eric@gmail.com>2026-04-29 21:14:52 +0200
commita5d2c8d5d646673864c11f46d49412aa1c2ebae7 (patch)
tree1153096865a877a909e8247bc06cc69849d7d178 /scripts
parent4373c2db3d54802735105bc3ca602214d94b9f16 (diff)
downloaddotfiles-a5d2c8d5d646673864c11f46d49412aa1c2ebae7.tar.gz
dotfiles-a5d2c8d5d646673864c11f46d49412aa1c2ebae7.zip
changed wallpapermenu scriptHEADmaster
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/wallpapermenu9
1 files changed, 4 insertions, 5 deletions
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