From c3d8423bba2695897bf636b8fd6248b87bc8f7f4 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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.i3status.conf b/.i3status.conf index f93b5cc..da14617 100644 --- a/.i3status.conf +++ b/.i3status.conf @@ -24,7 +24,7 @@ order += "disk /home" order += "load" order += "memory" order += "volume master" -order += "battery all" +order += "battery pbp" order += "tztime local" path_exists VPN { @@ -44,13 +44,15 @@ ethernet _first_ { format_down = " " } -battery all { - format = " %status %percentage %remaining " +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 {