Article 5H3NA how to implement a icon in dmenu file manager

how to implement a icon in dmenu file manager

by
pnotz17
from LinuxQuestions.org on (#5H3NA)
im trying to figure out how to implement a icon in dmenu on the left side of each dir/file not the prompt, i know it can be done with echo sed or awk print could anyone give me a example?

#!/bin/bash

while true; do
open=$(ls -1a --group-directories-first --file-type | dmenu -fn Symbola -c -g 1 -p 'Navigate:' "$@")
if [[ -d "$open" ]]; then
cd "$open"
else
if [[ "$open" != "" ]]; then
xdg-open "$open"
fi
exit 0
fi
donelatest?d=yIl2AUoC8zA latest?i=FLxh-7PxTVo:joUDBAJso-0:F7zBnMy latest?i=FLxh-7PxTVo:joUDBAJso-0:V_sGLiP latest?d=qj6IDK7rITs latest?i=FLxh-7PxTVo:joUDBAJso-0:gIN9vFwFLxh-7PxTVo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments