dwmbar update
This commit is contained in:
parent
ef21c15d10
commit
2333bac3b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue