Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (8 sloc) 601 Bytes
echo -n ' ' \
'Vol:' $(amixer get Master | grep "Front Left:" | sed -e "s/.*\[\([0-9]*%\)\].*\[\(.*\)\]$/\2 \1/") '|' \
'Wlan0:' $(iwconfig wlan0 | awk '/Quality/{print $2}' | sed 's/.*=//' | awk -F"/" '{printf("%.0f%%", $1/$2*100)}') '|' \
$(acpi -a | sed 's/Adapter .: //; s/on-line/AC: /g; s/off-line/Bat :/g;') \
$(acpi -b | sed 's/Battery .:.* \([0-9]*%\).*$/\1/') '|' \
$(cpufreq-info -c 0 -p | awk '{print $3}') ':' $(cpufreq-info -c 0 -f -m) '|' \
$(cat /sys/kernel/debug/vgaswitcheroo/switch |grep DIS| sed 's/.:DIS:.:\([^:]*\):.*/GPU: \1/') '|' \
$(date '+%Y-%m-%d %a %H:%M')
Something went wrong with that request. Please try again.