i3 / i3status

Generates status bar to use with i3bar, dzen2 or xmobar
BSD 3-Clause "New" or "Revised" License
598 stars 251 forks source link

I have an issue with i3status about option 'order'. #495

Closed DerekTDR closed 2 years ago

DerekTDR commented 2 years ago

Welcome,

I tried to modify i3status.conf on Manjaro i3. On i3bar I have message "_Error: statuscommand process exited unexpectedly (exit 1)". When I run command i3status I got message /etc/i3status.conf:113: no such option 'order'. I have tried to find something about this error, but I cannot find anything.

This is my i3status.conf file:

# 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!

general {
        colors = true
        interval = 5
        color_good = "#2AA198"
        color_bad = "#586E75"
        color_degraded = "#DC322F"
}

# order += "ipv6"
order += "cpu_usage"
order += "cpu_temperature all"
order += "disk /"
order += "disk /home"
order += "ethernet _first_"
order += "wireless _first_"
order += "battery all"
# order += "load"
order += "memory"
order += "tztime local"

cpu_usage {
        format = " cpu: %usage "
}

cpu_temperature all {
    format = " cpu_temp: %degrees °C "
}

load {
        format = " load %1min "
        # max_threshold = 0.3
}

disk "/" {
        format = " /(root): %free/%total "
        # format = " ⛁ %avail "
}

disk "/home" {
    format = " /home: %free/%total "
}

ethernet _first_ {
# if you use %speed, i3status requires root privileges
        format_up = " lan: %ip %speed "
        format_down = " no lan "
}

wireless _first_ {
    format_up = " wlan: %ip %bitrate "
    format_down = " no wlan "
}

battery all {
        # format = "%status %percentage %remaining %emptytime"
        format = " %status %percentage"
        format_down = "No battery"
        last_full_capacity = true
        integer_battery_capacity = true
        status_chr = ""
        # status_chr = "⚡"
        # status_bat = "bat"
        # status_bat = "☉"
        status_bat = ""
        status_unk = "?"
        # status_unk = ""
        # status_full = ""
        status_full = "☻"
        low_threshold = 15
        threshold_type = time
order += "wireless _first_"
}

memory {
        format = "mem: %used/%available"
        threshold_degraded = "1G"
        format_degraded = "MEMORY < %available"
}

tztime local {
        # format = "%Y-%m-%d %H:%M:%S"
        # format = " %d.%m. %H:%M "
        format = " %d.%m.%Y %H:%M:%S "
}
DerekTDR commented 2 years ago

Yes, I am na idiot.