Open max-ishere opened 1 year ago
When having the bar config as one line sway doesnt show a bar at all. Splitting into many lines makes the bar appear.
I think this behaviour is not directly about the bar
command but how sway parses braces and subcommands. If you write your bar
command without braces like bar swaybar_command waybar
, I think it will work. But, if you want to put more than one subcommand with or without braces on one line like bar { position top status_command i3status }
or bar position top status_command i3status
, it won't work, because in these situations, sway cannot understand how to parse subcommands and thinks there is just one subcommand like position top status_command i3status
but normally it is two position top
and status_command i3status
. So, I don't know if this is a design decision or something that should be fixed. If our intention is to fix this only when we have one subcommand like in your example, probably that is more doable.
Sway Version:
Debug Log:
Configuration File: (That's it)
Description: