Displaying image thumbnails in dmenu #2001
Answered
by
DaveDavenport
kamssiopeia
asked this question in
Q&A
-
Hello, I want to create rofi wallpaper picker with image preview. The problem is i can't get rofi to display image preview in |
Beta Was this translation helpful? Give feedback.
Answered by
DaveDavenport
Jul 11, 2024
Replies: 1 comment 2 replies
-
This is what I'm using with the #!/bin/sh
WallDir=${1:-~/Pictures/Wallpapers}
PREVIEW=true \
rofi -no-config -theme fullscreen-preview.rasi \
-show filebrowser -filebrowser-command 'setbg' \
-filebrowser-directory "$WallDir" \
-filebrowser-sorting-method mtime \
-selected-row 1 >/dev/null |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If your rofi is new enough, you can pass filename as icon. See the rofi-script manpage.