diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-01-25 15:17:37 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-01-25 15:17:37 +0100 |
| commit | 5c93d0569a8cd982065b46799e13ee560987fdda (patch) | |
| tree | f85c53d17ef52be760e962ee159ef48418242097 | |
| parent | a9501c0596574970a6f6eefad27be9327a67fa94 (diff) | |
fix i3status
| -rw-r--r-- | .config/i3status/config | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/.config/i3status/config b/.config/i3status/config new file mode 100644 index 0000000..ffc36ed --- /dev/null +++ b/.config/i3status/config @@ -0,0 +1,110 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! +# Some icon chars can be found at https://emojipedia.org/objects/ + +general { + colors = true + interval = 5 +} + +#order += "read_file hostname" +#order += "ipv6" +order += "wireless _first_" +#order += "ethernet _first_" +order += "battery all" +order += "disk /" +#order += "disk /boot" +order += "cpu_usage" +#order += "load" +order += "memory" +order += "cpu_temperature 0" +order += "volume master" +order += "tztime local" + +read_file hostname { + format = "%content" + path = "/etc/hostname" +} + +wireless _first_ { + #format_up = "🌐 %essid %quality" + #format_up = "📶 %essid %quality" + format_up = "📡 %essid %signal %bitrate" + format_down = "📡 down" +} + +ethernet _first_ { + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +# +battery all { + last_full_capacity = true + integer_battery_capacity = true +# format = "%status %percentage %remaining" + format = "%status %percentage %remaining %consumption" + status_chr = "⚡🔋" + status_bat = "🔋" + status_unk = "? UNK" + status_full = "⚡🔋" + threshold_type = "percentage" + low_threshold = 10 +} + +#battery 0 { +# format = "%status %percentage %remaining %emptytime" +# 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 = 10 +#} + +disk "/" { + #format = "📀 %avail" + #format = "💽 %avail" + format = "/ %avail av." +} + +disk "/boot" { + format = "/boot %avail" +} + +cpu_usage { + format = "CPU %usage" +} + +load { + format = "Load: %1min" +} + +memory { + format = "Mem %available av." + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + +cpu_temperature 0 { + format = "🌡 %degrees °C" + path = "/sys/class/hwmon/hwmon2/temp1_input" +} + +tztime local { + #format = "%Y-%m-%d %H:%M:%S" + format = "%a %d %b %H:%M:%S" + #format = "📅 %a %d %b ⌚ %H:%M:%S" +} + +volume master { + format = "🔈 %volume" + format_muted = "🔈 mute (%volume)" + device = "default" +} |
