~ecs/dotfiles

7cc8e3a2d63f29a89e533e546e9a27a1dadcb4b9 — Eyal Sawady 30 days ago a7443d2
bin/status: update
1 files changed, 1 insertions(+), 1 deletions(-)

M bin/status
M bin/status => bin/status +1 -1
@@ 3,7 3,7 @@

while true; do
	vol="$(amixer -M get Master 2>/dev/null | awk -F"[][]" \
		'/\[/ { if ($6 == "on") { sub("\%", "", $2); print " " $2 } else { print " m" }; exit }')"
		'/\[/ { if ($6 == "on") { sub("%", "", $2); print $2 } else { print "m" }; exit }')"

	ip="$( (ip -4 addr show; ip -6 addr show) 2>/dev/null | awk \
		'/inet6? [^ ]*.*scope global/ {sub(/\/.*$/, "", $2); print " " $2; \