From dcdd9a728bba37542b4c08ebe27f7500f7f96d6f Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Fri, 12 Mar 2021 17:00:07 +0100 Subject: Update --- etc/i3status.conf | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) (limited to 'etc/i3status.conf') diff --git a/etc/i3status.conf b/etc/i3status.conf index b3c138a..d1b0a5a 100644 --- a/etc/i3status.conf +++ b/etc/i3status.conf @@ -17,12 +17,12 @@ general { #order += "ipv6" order += "wireless _first_" order += "ethernet _first_" -order += "battery all" +order += "battery 0" order += "disk /" -#order += "load" -#order += "memory" +order += "load" +order += "memory" order += "volume master" -order += "tztime utc" +order += "tztime local" wireless _first_ { format_up = "W: (%quality at %essid) %ip" @@ -39,10 +39,25 @@ battery all { format_down = "No battery" status_chr = "⚡ CHR" status_bat = "🔋 BAT" + status_unk = "❓ UNK" + status_full = "😈 FULL" + path = "/sys/class/power_supply/BAT%d/uevent" + low_threshold = 20 + color_bad="red" +} + +battery 0 { + format = "%status %percentage" + format_down = "No battery" + status_chr = "🔌 CHR" + status_bat = "🔋 BAT" status_unk = "? UNK" status_full = "☻ FULL" path = "/sys/class/power_supply/BAT%d/uevent" low_threshold = 20 + color_bad="red" + last_full_capacity = true + integer_battery_capacity = true } disk "/" { @@ -54,14 +69,14 @@ load { } memory { - format = "%used / %available" - threshold_degraded = "1G" - format_degraded = "MEMORY < %available" + format = "MEM: %available / %total" + threshold_degraded = "10%" + format_degraded = "MEM: %free" } -tztime utc { +tztime local { format = "%a %d %b %Y %H:%M:%S" - timezone = "Etc/UTC" + timezone = "Europe/Paris" } volume master { -- cgit v1.2.3