diff options
| author | eric.marin <maarin.eric@gmail.com> | 2025-03-24 08:42:44 +0100 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2025-09-07 21:19:28 +0200 |
| commit | 5798601f2527b6535fbafba7e22de4dd53954718 (patch) | |
| tree | f045e8af54d09e7c19186c29d20ee0a28f2743d3 /scripts/wallpapermenu | |
| parent | 04d957a4d276c6c18570d6d658b17bed36f3190b (diff) | |
| download | dotfiles-5798601f2527b6535fbafba7e22de4dd53954718.tar.gz dotfiles-5798601f2527b6535fbafba7e22de4dd53954718.zip | |
update
Diffstat (limited to '')
| -rwxr-xr-x | scripts/wallpapermenu | 6 |
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) |
