blob: aa2353431c7eea6ccf2ea0865a77a9d4f1f60924 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/sh
date=$(date "+%a %b %d %I:%M %p")
batt=$(acpi -b | awk -F ', ' '{ print $2 }')
disk=$(df -H | awk '{ if ($6 == "/") print $4 }')
#ssid=$(ifconfig | egrep -o '*ssid (.*) ')
#idle=$(top -n | egrep -o '[0-9]+\.[0-9]% idle')
echo "$ssid $idle $disk free | $batt charged | $date"
|