remove mail count, add ip address alongside wireless
This commit is contained in:
parent
66fbf38d21
commit
8724f043dc
6
bin/bar
6
bin/bar
@ -66,7 +66,7 @@ wifi() {
|
|||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
ssid="$(echo "$w" | awk "${wifi_ssid}")"
|
ssid="$(echo "$w" | awk "${wifi_ssid}")"
|
||||||
sig="$(echo "$w" | awk "${wifi_sig}")"
|
sig="$(echo "$w" | awk "${wifi_sig}")"
|
||||||
printf "%s : %s" "${ssid}" "${sig}"
|
printf "%s : %s : %s" "${ssid}" "${sig}" "$(net)"
|
||||||
else
|
else
|
||||||
printf "%s" "$(net)"
|
printf "%s" "$(net)"
|
||||||
fi
|
fi
|
||||||
@ -167,6 +167,6 @@ vmm() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
printf "%%{l} %s | %s | %%{A:apm -A:}%%{A2:apm -L:}%%{A3:apm -H:}%s%%{A}%%{A}%%{A} | %s %%{r} %s | %s | %s | %s | @%s " \
|
printf "%%{l} %s | %s | %%{A:apm -A:}%%{A2:apm -L:}%%{A3:apm -H:}%s%%{A}%%{A}%%{A} | %s %%{r} %s | %s | %s | @%s " \
|
||||||
"$(battery)" "$(temp)" "$(hz)" "$(mem)" \
|
"$(battery)" "$(temp)" "$(hz)" "$(mem)" \
|
||||||
"$(vmm)" "$(mail)" "$(wifi)" "$(date '+%Y-%m-%d %H:%M')" "$(beat)"
|
"$(vmm)" "$(wifi)" "$(date '+%Y-%m-%d %H:%M')" "$(beat)"
|
||||||
|
Loading…
Reference in New Issue
Block a user