From 214bdbb33d2bcfa6fc2f3460447d57d9e5c7713e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurij=20Podgor=C5=A1ek?= Date: Thu, 9 Mar 2023 00:23:10 +0100 Subject: [PATCH] i3status popravek za i3blocks --- .i3status.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.i3status.conf b/.i3status.conf index 1cdb252..e7e005b 100644 --- a/.i3status.conf +++ b/.i3status.conf @@ -23,7 +23,7 @@ order += "wireless _first_" order += "load" order += "memory" order += "volume master" -order += "battery all" +order += "battery pbp" order += "tztime local" wireless _first_ { @@ -38,13 +38,15 @@ ethernet _first_ { format_down = "E: " } -battery all { +battery pbp { format = " %status %percentage %remaining " status_bat = "" status_chr = "" status_full = "" status_unk = "?" threshold_type = time + integer_battery_capacity = true + path = "/sys/class/power_supply/cw2015-battery/uevent" } tztime local {