bar3x
bar3x copied to clipboard
Error when using example config
FATA[0000] cannot parse config file: yaml: line 2: mapping values are not allowed in this context
ERRO[0004] exit status 1
oh playing about it looks like it has to be like below WITHOUT the comments
bg_color: "#17191e"
text_color: "#d4e5f7"
accent_color: "#1ebce8"
neutral_color: "#37393e"
neutral_light_color: "#90949d"
just had a try of adding a menu using the config wiki and this comes back as EOF for the Text
<ModuleRow>
<Cmd Format="markup">
<Text>Hello World!</Text>
</Cmd>
<Workspaces MaxWidth="100" />
</ModuleRow>
I found you can leave the comments in if you swap the // comment markers for #.
thats nice to know :) what about my other issue?
If you put all module config for a bar on one line it's harder to read but seems to work.
Like this for example:
bar_left: <ModuleRow><Cmd Format="markup"><Text>Hello World!</Text></Cmd><Workspaces MaxWidth="100" /></ModuleRow>
bar_right: <ModuleRow><Cmd Format="markup"><Text>Hello World!</Text></Cmd><Workspaces MaxWidth="100" /></ModuleRow>