The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

color_separator customization not taking

asked Nov 27 '14

thorin gravatar image

updated Nov 28 '14

Adaephon gravatar image

I've customized the value of color_separator in my /etc/i3status.conf to make it easier to see, but it won't take effect when I restart or reload. Here's what I have exactly:

general {
  colors = true
  color_separator = "#C400AD"
  #color_separator = "#FFFFFF"
  interval = 5
}

Do I need to move it into ~/.i3/i3status.conf, or something similar?

Comments

Is there a `~/.i3status.conf` or `~/.conf/i3status/config`? These might override `/etc/i3status.conf`. Also, do any other changes in the configuration take affect?

Adaephon gravatar imageAdaephon (Nov 28 '14)edit

No, there isn't either of those present on my system. Other changes do take effect, I've tinkered with the order and content of items on it before.

thorin gravatar imagethorin (Nov 28 '14)edit

@airblader: No, the `#` is not interpreted as start of a comment as it is already quoted with `""`. Besides, this is the way how colors are defined in the manual, so it should be the correct syntax.

Adaephon gravatar imageAdaephon (Nov 28 '14)edit

Yeah, I noticed that after posting it and deleted my comment. Not quickly enough, apparently :)

airblader gravatar imageairblader (Nov 28 '14)edit

1 answer

Sort by » oldest newest most voted
0

answered Nov 28 '14

Adaephon gravatar image

updated Nov 28 '14

The color_separator option has no effect, if the output format i3bar is used, which is also the default. The manpage of the current development version of i3status says:

Likewise, you can use the color_separator directive to specify the color that will be used to paint the separator bar. The separator is always output in color, even when colors are disabled by the colors directive. This option has no effect when output_format is set to i3bar or none.

Unfortunately the last sentence is still missing in the last released version (2.8).


You can still configure the color of the separator in the color section of the bar configuration in ~/.i3/config (or /etc/i3/config, if you prefer global configurations):

bar {
    # [...]
    colors {
        separator #C400AD
        # [...]
    }
}

Comments

1

But the color can at least be set in the i3 configuration, though only globally for all separators.

airblader gravatar imageairblader (Nov 28 '14)edit

@airblader: Thanks for the hint, I entirely forgot about that.

Adaephon gravatar imageAdaephon (Nov 28 '14)edit

Question Tools

Stats

Asked: Nov 27 '14

Seen: 137 times

Last updated: Nov 28 '14