From 5798601f2527b6535fbafba7e22de4dd53954718 Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Mon, 24 Mar 2025 08:42:44 +0100 Subject: update --- scripts/wallpapermenu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/wallpapermenu') diff --git a/scripts/wallpapermenu b/scripts/wallpapermenu index 9a3de1d..7f436ac 100755 --- a/scripts/wallpapermenu +++ b/scripts/wallpapermenu @@ -4,8 +4,8 @@ set dir "/home/eric.marin/Pictures/Backgrounds/" set chosen ( for file in (find $dir -type f) if test -z $img; or test $file != $img - echo "$file" + echo -en "$file\0icon\x1fthumbnail://$file\n" end - end | cut -d '/' -f6 | fuzzel --dmenu) + end | rofi -dmenu -show-icons -theme ~/.config/rofi/wallpapermenu.rasi) -~/.config/scripts/set_background (echo $dir$chosen) +~/.config/scripts/set_background (echo $chosen) -- cgit v1.2.3