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
|
||||
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}')
|
||||
|
@ -114,11 +114,11 @@ hc --idle | {
|
|||
res+="%{S$m}"
|
||||
#echo -en "%{S$((${#monitors[@]} - monitor))}"
|
||||
### print the left
|
||||
res+="%{l}${output_tags[$monitor]}$separator ${windowtitle:0:150}"
|
||||
res+="%{l}${output_tags[$monitor]}$separator${windowtitle:0:150}"
|
||||
### center
|
||||
#echo -n "%{c}%{U${colors[bright_orange]}}${windowtitle:0:150}%{U-}"
|
||||
### print the right
|
||||
res+="%{r}$memory$df$playing$volume$wifi$network$temperature$load$separator$date$separator%{U#f2f229}$charge%{U-}$separator"
|
||||
res+="%{r}$memory$df$playing$volume$wifi$network$temperature$load $separator$date $separator%{U#f2f229}$charge%{U-}$separator"
|
||||
#echo -en "%{r}$right $separator %{U#f2f229}$charge%{U-} $separator"
|
||||
done
|
||||
|
||||
|
@ -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" )
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue