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

View File

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