aboutsummaryrefslogtreecommitdiff
path: root/scripts/wallpapermenu
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/wallpapermenu6
1 files changed, 3 insertions, 3 deletions
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)