dwmbar update

This commit is contained in:
inigoortega 2020-01-26 02:39:49 +01:00
parent ef21c15d10
commit 2333bac3b2
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ status() { \
# Get the volume of ALSA's master volume output. Show an icon if or
# not muted.
amixer get Master | grep -o "[0-9]*%\|\[on\]\|\[off\]" | \
sed "s/\[on\]//;s/\[off\]//"
sed "s/\[on\]//;s/\[off\]//" | head -n 2
printf "%b\n" "$delim"
@ -129,7 +129,7 @@ status() { \
# Wifi quality percentage and  icon if ethernet is connected.
# grep "^\s*w" /proc/net/wireless |awk '{ print "", int($3 * 100 / 70) "%" }'
# sed "s/down//;s/up//" /sys/class/net/e*/operstate
# pingres="$(ping -c 3 8.8.8.8 | grep '100% packet loss' )"
# pingres="$(ping -c 3 8.8.8.8 | grep '100% packet loss' )"
# if [ "$pingres" -ne "" ]; then
# printf "%b\n" "µ"
# else