You are not logged in.

#1 2016-11-27 04:31:17

linusforpresident
Member
Registered: 2016-11-05
Posts: 14

i3status Your 'order' array is empty

Recently switched to i3, still geting used to it. Tryin to customize i3status. This is my i3status.conf:

general {
        output_format = "dzen2"
        colors = true
        interval = 5
}

order = "time"

time {
        format = "%Y-%m-%d %H:%M:%S"
}

When I run

i3status -c ~/i3status.config

I get the error

Your 'order' array is empty. Please fix your config.

I've tried a few variation of i3status.conf - some I wrote myself some from the internet - but always get the same error. I have dzen2 installed. The only related modification in ~/.i3/config is changing the color of the bar. What am I missing?

Last edited by linusforpresident (2016-11-27 04:31:48)

Offline

#2 2016-11-27 23:43:07

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: i3status Your 'order' array is empty

order needs to be in the format of

order += "cpu_temperature 0"
order += "wireless wlp4s0"
order += "ethernet enp3s0"
order += "ipv6"
order += "tztime local"

further reading

Offline

#3 2016-11-29 03:58:26

linusforpresident
Member
Registered: 2016-11-05
Posts: 14

Re: i3status Your 'order' array is empty

HiImTye wrote:

order needs to be in the format of

order += "cpu_temperature 0"
order += "wireless wlp4s0"
order += "ethernet enp3s0"
order += "ipv6"
order += "tztime local"

further reading

Thanks for the response. I have tried other configurations (including the example in the i3 docs), but I always get the same error. This is a fairly bare install, any ideas if theres maybe a package I could be missing?

Offline

#4 2016-11-29 14:15:53

neymarsabin
Member
Registered: 2016-05-02
Posts: 12

Re: i3status Your 'order' array is empty

linusforpresident wrote:

Recently switched to i3, still geting used to it. Tryin to customize i3status. This is my i3status.conf:

general {
        output_format = "dzen2"
        colors = true
        interval = 5
}

order = "time"

time {
        format = "%Y-%m-%d %H:%M:%S"
}

When I run

i3status -c ~/i3status.config

I get the error

Your 'order' array is empty. Please fix your config.

I've tried a few variation of i3status.conf - some I wrote myself some from the internet - but always get the same error. I have dzen2 installed. The only related modification in ~/.i3/config is changing the color of the bar. What am I missing?


I know this is not a solution but a reminder to you.

 i3status -c ~/i3status.conf 

not

 i3status -c ~/i3status.config 

because according to you, you saved your file as i3status.conf

And order should be placed in the code like this

 
order += "time" 

And as my understanding, the best way to keep your i3status configuration is in ~/.config/i3status/config file.

Last edited by neymarsabin (2016-11-29 14:17:38)

Offline

Board footer

Powered by FluxBB