All pastes #805596 Raw Edit

Stuff

public text v1 · immutable
·published 2007-12-04 14:31 UTC
rendered paste body
while echo "0 setstatustext" `if [ \`cat /proc/acpi/battery/BAT0/state | grep -cP 'charging state.*discharging' \` != 0 ]; then acpi | sed 's/.*.\(.\):\(..\):...*/\1:\2 | /'; fi` `uptime | sed 's/.*://; s/,//g'` '|' `date "+%a %Y-%m-%d %R:%S"`; do sleep 1; done | awesome-client