summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-03-21 18:29:37 -0400
committerJesse Luehrs <doy@tozt.net>2014-03-21 18:33:26 -0400
commitd319a3b9598cf0abceb7241e6bebeb5c9ae9698c (patch)
treec335a966a4980dcdeff2cff3189d09161d0e0239 /bin
parent7ca34488993ad41e75acd2417162c090ce0db1d7 (diff)
downloadconf-d319a3b9598cf0abceb7241e6bebeb5c9ae9698c.tar.gz
conf-d319a3b9598cf0abceb7241e6bebeb5c9ae9698c.zip
hardware configuration stuff
Diffstat (limited to 'bin')
-rwxr-xr-xbin/status4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/status b/bin/status
index d3f2504..2088987 100755
--- a/bin/status
+++ b/bin/status
@@ -75,9 +75,9 @@ while (<$i3status>) {
name => 'battery_discharge',
full_text => sprintf("%0.2fW", $discharge_rate{$battery}),
color => (
- $discharge_rate{$battery} < 8 ? '#FFFFFF'
+ $discharge_rate{$battery} < 6 ? '#FFFFFF'
: $discharge_rate{$battery} < 12 ? '#00FF00'
- : $discharge_rate{$battery} < 20 ? '#FFFF00'
+ : $discharge_rate{$battery} < 18 ? '#FFFF00'
: '#FF0000'
),
};