sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 89119c494decc9a6d1057f3d33c2e81f20b6edba
parent c3ba994ada7c81845fad7cd28cbaffd3443afbf0
Author: Jacob Todd <jaketodd422@gmail.com>
Date:   Mon,  6 Dec 2010 16:06:34 -0500

change battery capacity, add comment about it to simpl monitors
Diffstat:
Mdwm.suckless.org/scripts/simple_monitors.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dwm.suckless.org/scripts/simple_monitors.md b/dwm.suckless.org/scripts/simple_monitors.md @@ -9,10 +9,10 @@ These are just very simple monitors for the dwm status bar. Battery --- -You're battery may be called something different, so check /proc/acpi for it's name. +You're battery may be called something different, so check /proc/acpi for it's name. Also, change 89000 to whatever the capacity is for your battery. This returns the remaining battery power as a percentage. - $(echo $(cat /proc/acpi/battery/BAT0/state| grep remaining| awk '{print $3}') / 8900| hoc| cut -c3,4)% + $(echo $(cat /proc/acpi/battery/BAT0/state| grep remaining| awk '{print $3}') / 89000| hoc| cut -c3,4)% hoc comes from plan9port or 9base.