aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3')
-rw-r--r--i3/status6
1 files changed, 6 insertions, 0 deletions
diff --git a/i3/status b/i3/status
index f9ea2982..6e45cffe 100644
--- a/i3/status
+++ b/i3/status
@@ -2,6 +2,7 @@
order += "load"
order += "tztime local"
+order += "battery 0"
load {
format = "%1min/%5min/%15min"
@@ -9,4 +10,9 @@ load {
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
+battery 0 {
+ format = "%status %percentage %remaining %emptytime"
+ path = "/sys/class/power_supply/BAT%d/uevent"
+ low_threshold = 15
+}