1
0
Fork 0

herbst: fix lemonbar

This commit is contained in:
Vladimír Dudr 2024-01-05 21:51:26 +01:00
parent c3d36849d9
commit 40c71528b3

View file

@ -57,7 +57,7 @@ hc --idle | {
for monitor in "${monitors[@]}" ; do
tags[$monitor]="$(hc tag_status "$monitor")"
done
date="%{T2}%{T-} $(date '+%{F#efefef}%H:%M%{F#909090}, %Y-%m-%{F#efefef}%d')"
date="%{T2}%{T-} $(date "+%H:%M%{F${colors[light4]}, %Y-%m-%{F-}%d")"
windowtitle=""
#count-mails;
#charge=$(battery | awk '{print $2}')
@ -150,7 +150,7 @@ hc --idle | {
;;
date)
#echo "resetting date" >&2
date="${cmd[*]:1}"
date="%{T2}%{T-} $(date "+%H:%M%%{F${colors[light4]}}, %Y-%m-%%{F-}%d")"
;;
quit_panel)
exit
@ -259,9 +259,9 @@ hc --idle | {
_wifi_net="${cmd[1]}"
if [[ -n "$_wifi_net" ]]
then
_wifi_sym=󰖩
_wifi_sym=
else
_wifi_sym=󰖪
_wifi_sym=
fi
wifi="$(xargs <<<"$_wifi_sym $_wifi_net $separator")"
;;
@ -292,7 +292,7 @@ hc --idle | {
first_loop=0
done
} | lemonbar -f "Hack-10" -f "Symbols Nerd Font Mono-10" -f "Noto Color Emoji-10" -a30 -B "$col_bg" -F "$col_fg" -u 1 | sh
} | lemonbar -f "Hack-10" -f "Symbols Nerd Font Mono" -f "Noto Color Emoji-10" -a30 -B "$col_bg" -F "$col_fg" -u 1 | sh
#} | lemonbar -f "DejaVu Sans-9" -f "Font Awesome-9" -f "Symbols Nerd Font-9"
#} | tee >(lemonbar -f "DejaViu Sans-9" -f "Font Awesome-9" )