[misc] CN font tuning

This commit is contained in:
Klesh Wong 2020-09-29 14:10:29 +08:00
parent ff5d850290
commit 1561749fa4
2 changed files with 7 additions and 4 deletions

View File

@ -9,7 +9,8 @@ case "$PM" in
# fonts # fonts
sudo apt install \ sudo apt install \
fonts-cascadia-code \ fonts-cascadia-code \
fonts-noto-cjk \ fonts-droid-fallback \
fonts-urw-base35 \
fonts-symbola \ fonts-symbola \
gucharmap gucharmap
# network manager # network manager
@ -28,7 +29,9 @@ case "$PM" in
sudo pacman -S --needed \ sudo pacman -S --needed \
freetype2 \ freetype2 \
ttf-cascadia-code \ ttf-cascadia-code \
noto-fonts-cjk \ gsfonts \
ttf-droid \
wqy-microhei \
gucharmap gucharmap
# install symbola for plain emojis(no-color) for st # install symbola for plain emojis(no-color) for st
yay -S ttf-symbola-free yay -S ttf-symbola-free

View File

@ -4,13 +4,13 @@
function update function update
set -x text set -x text
if test -f /tmp/recording.pid if test -f /tmp/recording.pid
set text $text "" set text $text "🎥"
end end
# mpd # mpd
if which mpc if which mpc
set music (mpc) set music (mpc)
if string match -r playing "$music[2]" if string match -r playing "$music[2]"
set text $text "🎥 $music[1]" set text $text " $music[1]"
end end
end end
# volume # volume