Fix i3status-conf indentation

This commit is contained in:
Vili Sinervä 2024-07-12 16:47:46 +03:00
parent 41324168ca
commit a513df47d2
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

48
i3.nix
View file

@ -7,12 +7,12 @@ let
# If the above line is not correctly displayed, fix your editor first! # If the above line is not correctly displayed, fix your editor first!
general { general {
output_format = "i3bar" output_format = "i3bar"
colors = true colors = true
interval = 1 interval = 1
color_good = "#2AA198" color_good = "#2AA198"
color_bad = "#586E75" color_bad = "#586E75"
color_degraded = "#DC322F" color_degraded = "#DC322F"
} }
order += "battery all" order += "battery all"
@ -25,45 +25,45 @@ let
order += "tztime helsinki" order += "tztime helsinki"
battery all { battery all {
format = " %status %percentage (%remaining @ %consumption) " format = " %status %percentage (%remaining @ %consumption) "
format_down = "" format_down = ""
last_full_capacity = true last_full_capacity = true
integer_battery_capacity = true integer_battery_capacity = true
low_threshold = 30 low_threshold = 30
threshold_type = time threshold_type = time
} }
cpu_usage { cpu_usage {
format = " CPU %usage " format = " CPU %usage "
} }
memory { memory {
format = " RAM %used / %total " format = " RAM %used / %total "
threshold_degraded = "10%" threshold_degraded = "10%"
} }
ethernet _first_ { ethernet _first_ {
format_up = " LAN: %ip " format_up = " LAN: %ip "
format_down = " No LAN " format_down = " No LAN "
} }
wireless _first_ { wireless _first_ {
format_up = " %quality%essid: %ip " format_up = " %quality%essid: %ip "
format_down = "" format_down = ""
} }
disk "/" { disk "/" {
format = " %avail " format = " %avail "
} }
tztime local { tztime local {
format = " %Y-%m-%d %H:%M:%S " format = " %Y-%m-%d %H:%M:%S "
} }
tztime helsinki { tztime helsinki {
format = " (HEL %H:%M) " format = " (HEL %H:%M) "
timezone = "Europe/Helsinki" timezone = "Europe/Helsinki"
hide_if_equals_localtime = true hide_if_equals_localtime = true
} }
''}"; ''}";
in in