Upgraded to 0.14.3, but found that I now get an error in the status bar (ran directly in terminal to get the output):
$ /usr/bin/i3status-rs ~/.config/i3status-rust/config.toml
{"version": 1, "click_events": true}
[[{"background":"#000000","color":"#dc322f","full_text":" Configuration error: failed to parse TOML from file contents.\nCause: invalid type: map, expected a string for key `theme` at line 5 column 1 ","separator":false,"separator_block_width":0}]
Configuration error: failed to parse TOML from file contents.
Cause: invalid type: map, expected a string for key `theme` at line 5 column 1
~/.config/i3status-rust/config.toml:
[theme]
file = "onedark.toml"
[[block]]
block = "time"
format = "%a %d/%m %R"
~/.config/i3status-rust/themes/onedark.toml:
idle_bg = "#282c34"
idle_fg = "#abb2bf"
info_bg = "#61afef"
info_fg = "#282c34"
good_bg = "#282c34"
good_fg = "#abb2bf"
warning_bg = "#e5c07b"
warning_fg = "#282c34"
critical_bg = "#e06c75"
critical_fg = "#282c34"
separator = ""
separator_bg = "auto"
separator_fg = "auto"
alternating_tint_bg = "#282c34"
alternating_tint_fg = "#abb2bf"
Downgrading to 0.14.2 sees everything working normally. The error would suggest that I need to use a different style of configuration to specify a custom theme, though I'm not sure what that would be.
Downgrading to 0.14.2* worked for me.
Oops, thank you :+1:
native_separators, a bool. If you addnative_separators = false
(or true) to your theme file it should work again (it did for me).
Sorry, this was unintended - that field should be optional like the others.
Fair enough. That indeed fixed it for me. Should this issue remain open? Or should this simply get considered a breaking change?
It's a bug
Most helpful comment
938 introduced a new key:
native_separators, a bool. If you addnative_separators = false(or
true) to your theme file it should work again (it did for me).