summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2017-09-20 09:05:19 -0500
committerBlaise Thompson <blaise@untzag.com>2017-09-20 09:05:19 -0500
commit996775764a46dc3cde541d305fa928100c471f1b (patch)
tree9c56241c5f8663380f5a541f5767135a8b762e3b /i3
parent0506000efed114fc1aeb1356b78cdd405e01a0b7 (diff)
BAT
Diffstat (limited to 'i3')
-rw-r--r--i3/i3status+config8
1 files changed, 8 insertions, 0 deletions
diff --git a/i3/i3status+config b/i3/i3status+config
index 6049922..11aa90b 100644
--- a/i3/i3status+config
+++ b/i3/i3status+config
@@ -8,6 +8,7 @@ general {
order += "volume master"
order += "cpu_usage"
+order += "battery 0"
order += "tztime local"
volume master {
@@ -21,6 +22,13 @@ cpu_usage {
format = " CPU %usage "
}
+battery 0 {
+ format = " BAT %percentage "
+ format_down = " ⚡ "
+ path = "/sys/class/power_supply/BAT%d/uevent"
+}
+
+
tztime local {
format = " %Y-%m-%d %H:%M:%S "
} \ No newline at end of file