Hi.
How restore font logout,see image
Thank
The pictures?
You will need to install a font with icon glyphs. FontAwesome or any of the nerd fonts usually works.
Awesome is installed.
And use polybar.
Thank
edit
Before it was like that, I didn’t notice which update changed the fonts.
Perhaps the code for zenity or yad (whichever provides the popup dialog) offers a clue.
It changed colors, too?
Are those actual Asian characters in the first scrot?
You can try regenerating your font cache; in a terminal -
fc-cache -f -v
So the icons in polybar are good?
It’s the rofi exit dialog; default ArchLabs comes with the rofi_run script installed in ~/bin.
rofi_run -l
brings up the exit dialog; there are some other useful options.
Hi,yes.
Thank
my font polybar
rofi_run -l
my
my
archlabs% fc-cache -f -v
Font directories:
/usr/share/fonts
/usr/local/share/fonts
/home/eroe/.local/share/fonts
/home/eroe/.fonts
/usr/share/fonts/100dpi
/usr/share/fonts/75dpi
/usr/share/fonts/TTF
/usr/share/fonts/adobe-source-code-pro
/usr/share/fonts/cantarell
/usr/share/fonts/cyrillic
/usr/share/fonts/encodings
/usr/share/fonts/gsfonts
/usr/share/fonts/misc
/usr/share/fonts/util
/home/eroe/.fonts/win
/usr/share/fonts/encodings/large
/usr/share/fonts: caching, new cache contents: 0 fonts, 10 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 398 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/adobe-source-code-pro: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 18 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/local/share/fonts: skipping, no such directory
/home/eroe/.local/share/fonts: skipping, no such directory
/home/eroe/.fonts: caching, new cache contents: 42 fonts, 1 dirs
/home/eroe/.fonts/win: caching, new cache contents: 342 fonts, 0 dirs
/usr/share/fonts/100dpi: skipping, looped directory detected
/usr/share/fonts/75dpi: skipping, looped directory detected
/usr/share/fonts/TTF: skipping, looped directory detected
/usr/share/fonts/adobe-source-code-pro: skipping, looped directory detected
/usr/share/fonts/cantarell: skipping, looped directory detected
/usr/share/fonts/cyrillic: skipping, looped directory detected
/usr/share/fonts/encodings: skipping, looped directory detected
/usr/share/fonts/gsfonts: skipping, looped directory detected
/usr/share/fonts/misc: skipping, looped directory detected
/usr/share/fonts/util: skipping, looped directory detected
/home/eroe/.fonts/win: skipping, looped directory detected
/usr/share/fonts/encodings/large: skipping, looped directory detected
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/eroe/.cache/fontconfig: cleaning cache directory
/home/eroe/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
archlabs%
mi rofi_run
#!/usr/bin/env bash
NAME="${0##*/}"
VER="0.7"
usage()
{
cat <<EOF
USAGE: $NAME [OPTIONS]
OPTIONS:
-h,--help Display this message
-v,--version Display script version
-r,--run Application launcher
-w,--window Switch between windows
-l,--logout System logout dialog
-b,--browser Browser search by keyword (requires surfraw)
-q,--qalculate Persistant calculator dialog (requires libqalculate)
-c,--clipboard Select previous clipboard entries (requires greenclip)
Without any options the run dialog will be opened.
EOF
}
if (( $# == 0 )); then
rofi -modi run,drun -show drun -line-padding 4 -columns 2 -padding 50 -hide-scrollbar -show-icons -drun-icon-theme "ArchLabs-Dark"
else
for arg in "$@"; do
case $arg in
-h|--help)
usage
exit 0
;;
-v|--version)
echo -e "$NAME -- Version $VER"
exit 0
;;
-r|--run)
rofi -modi run,drun -show drun -line-padding 4 -columns 2 -padding 50 -hide-scrollbar -show-icons -drun-icon-theme "ArchLabs-Dark"
;;
-w|--window)
rofi -modi window -show window -hide-scrollbar -padding 50 -line-padding 4
;;
-q|--qalculate)
hash qalc >/dev/null 2>&1 || { echo "Requires 'libqalculate' installed"; exit 1; }
rofi -modi "calc:qalc +u8 -nocurrencies" -padding 50 -show "calc:qalc +u8 -nocurrencies" -line-padding 4 -hide-scrollbar
;;
-c|--clipboard)
hash greenclip >/dev/null 2>&1 || { echo "Requires 'greenclip' installed"; exit 1; }
rofi -modi "clipboard:greenclip print" -padding 50 -line-padding 4 -show "clipboard:greenclip print" -hide-scrollbar
;;
-b|--browser)
hash surfraw >/dev/null 2>&1 || { echo "Requires 'surfraw' installed"; exit 1; }
surfraw -browser="$BROWSER" "$(sr -elvi | awk -F'-' '{print $1}' | sed '/:/d' | awk '{$1=$1};1' |
rofi -hide-scrollbar -kb-row-select 'Tab' -kb-row-tab 'Control+space' -dmenu -mesg 'Tab for Autocomplete' -i -p 'Web Search')"
;;
-l|--logout)
if grep -q 'startx' $HOME/.*profile; then
ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 3 <<< " Lock| Reboot| Shutdown")"
else
ANS="$(rofi -sep "|" -dmenu -i -p 'System' -width 20 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
fi
case "$ANS" in
*Lock) i3lock-fancy ;;
*Reboot) systemctl reboot ;;
*Shutdown) systemctl -i poweroff ;;
*Logout) session-logout >/dev/null 2>&1 || pkill -15 -t tty"$XDG_VTNR" Xorg ;;
esac
;;
*)
printf "\nOption does not exist: %s\n\n" "$arg"
exit 2
esac
done
fi
exit 0
Hi,where should I look.
thank
edit
Hi solved.
Everything happened, because I put in .font, the windows fonts in a folder called win.
I removed the folder and gave:
fc-cache -f -v
thank at all