Merge branch 'dev' into thesis

status: fix icons
system: support japanes characters (no kanji)
        change default fonts to Fira + Nerd Symbols
This commit is contained in:
David JULIEN 2022-11-02 09:50:15 +01:00
commit a1ef494df2
4 changed files with 9 additions and 8 deletions

View File

@ -1,13 +1,14 @@
!! Set a default font and font size as below: !! Set a default font and font size as below:
*.font: FiraCode:size=14 *.font: Fira Code:size=12
*.symbols: Symbols Nerd Font:size=14 *.symbols: Symbols Nerd Font:size=12
*.japan: IPAexGothic:size=12
/* dwm config */ /* dwm config */
dwm.borderpx: 2 dwm.borderpx: 2
dwm.gappx: 15 dwm.gappx: 15
/* st config */ /* st config */
st.font: FiraCode:size=14 st.font: Fira Code:size=12
st.symbols: Symbols Nerd Font:size=14 st.symbols: Symbols Nerd Font:size=12
st.termname: st-256color st.termname: st-256color
st.borderpx: 5 st.borderpx: 5

View File

@ -10,7 +10,7 @@
###################################################################### ######################################################################
# Wifi quality percentage and icon if ethernet is connected. # Wifi quality percentage and icon if ethernet is connected.
ssid="$(wpa_cli status | grep -i ^ssid | sed -e 's/.*=//')" ssid="$(wpa_cli status | grep -i ^ssid | sed -e 's/.*=//')"
state="$(wpa_cli status | grep -i ^wpa_state | sed -e 's/.*=//')" state="$(wpa_cli status | grep -i ^wpa_state | sed -e 's/.*=//')"
case "$state" in case "$state" in
@ -23,6 +23,6 @@ if [ "up" = "$eth" ]; then
str="$(printf "%s /  " "$str")" str="$(printf "%s /  " "$str")"
fi fi
vpn="$(pidof openvpn)" vpn="$(pidof openvpn)"
[ -n "$vpn" ] && str="$(printf "() %s" "$str")" [ -n "$vpn" ] && str="$(printf "%s  " "$str")"
printf " %s " "$str" printf " %s " "$str"

View File

@ -19,7 +19,7 @@ do
[ -n "$(echo "$acc" | sed -n '/@univ/p')" ] && box="" [ -n "$(echo "$acc" | sed -n '/@univ/p')" ] && box=""
[ -n "$(echo "$acc" | sed -n '/@mailo/p')" ] && box="" [ -n "$(echo "$acc" | sed -n '/@mailo/p')" ] && box=""
[ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box="" [ -n "$(echo "$acc" | sed -n '/@posteo/p')" ] && box=""
unread="$unread/$box $new" unread="$unread/$box$new"
fi fi
done done
[ -n "$unread" ] && unread="$(echo "$unread" | cut -c 2-)" || exit [ -n "$unread" ] && unread="$(echo "$unread" | cut -c 2-)" || exit

@ -1 +1 @@
Subproject commit 82003c8dad7b966ab65f339749fb4272eafb8f4b Subproject commit 89d751ef3abec67adcdf1dbed7c2361795d7f550