You are not logged in.
Pages: 1
Hi gurus,
I am playing around with a new desktop look and I noticed in their scripts they use unicode for the icons in the panel. i.e.
memIcon=$(echo "\uf85a")
They mentioned in the instructions to install Nerd-Fonts and I have installed Hack Nerd fonts and run
fc-cache -fv
and even restarted but I cannot get the icon to show in the panel. It just shows \uF85A.
Any idea what I am doing wrong?
Last edited by djorr5 (2021-04-12 04:59:13)
Offline
Who is "they" and what scripts are you referring to?
Taking a guess here, but you would probably need to pass the "-e" parameter to the echo command:
memIcon=$(echo -e "\uf85a")
From "man echo":
-e enable interpretation of backslash escapes
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I got it sorted. I didn't have UTF-8 set for my LANG
LANG=en_AU
was all I had. I created locale.conf and set my LANG to
LANG=en_AU.UTF-8
Last edited by djorr5 (2021-04-12 04:58:10)
Offline
Pages: 1
[ Generated in 0.007 seconds, 8 queries executed - Memory usage: 522.95 KiB (Peak: 523.79 KiB) ]