summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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