herbst: fix lemonbar
This commit is contained in:
parent
c3d36849d9
commit
40c71528b3
1 changed files with 7 additions and 7 deletions
|
@ -57,7 +57,7 @@ hc --idle | {
|
||||||
for monitor in "${monitors[@]}" ; do
|
for monitor in "${monitors[@]}" ; do
|
||||||
tags[$monitor]="$(hc tag_status "$monitor")"
|
tags[$monitor]="$(hc tag_status "$monitor")"
|
||||||
done
|
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=""
|
windowtitle=""
|
||||||
#count-mails;
|
#count-mails;
|
||||||
#charge=$(battery | awk '{print $2}')
|
#charge=$(battery | awk '{print $2}')
|
||||||
|
@ -150,7 +150,7 @@ hc --idle | {
|
||||||
;;
|
;;
|
||||||
date)
|
date)
|
||||||
#echo "resetting date" >&2
|
#echo "resetting date" >&2
|
||||||
date="${cmd[*]:1}"
|
date="%{T2}%{T-} $(date "+%H:%M%%{F${colors[light4]}}, %Y-%m-%%{F-}%d")"
|
||||||
;;
|
;;
|
||||||
quit_panel)
|
quit_panel)
|
||||||
exit
|
exit
|
||||||
|
@ -259,9 +259,9 @@ hc --idle | {
|
||||||
_wifi_net="${cmd[1]}"
|
_wifi_net="${cmd[1]}"
|
||||||
if [[ -n "$_wifi_net" ]]
|
if [[ -n "$_wifi_net" ]]
|
||||||
then
|
then
|
||||||
_wifi_sym=
|
_wifi_sym=
|
||||||
else
|
else
|
||||||
_wifi_sym=
|
_wifi_sym=
|
||||||
fi
|
fi
|
||||||
wifi="$(xargs <<<"$_wifi_sym $_wifi_net $separator")"
|
wifi="$(xargs <<<"$_wifi_sym $_wifi_net $separator")"
|
||||||
;;
|
;;
|
||||||
|
@ -292,7 +292,7 @@ hc --idle | {
|
||||||
first_loop=0
|
first_loop=0
|
||||||
done
|
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"
|
#} | lemonbar -f "DejaVu Sans-9" -f "Font Awesome-9" -f "Symbols Nerd Font-9"
|
||||||
#} | tee >(lemonbar -f "DejaViu Sans-9" -f "Font Awesome-9" )
|
#} | tee >(lemonbar -f "DejaViu Sans-9" -f "Font Awesome-9" )
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue