Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Trim trailing whitespace from config file #3316
this problem has me stumped:
I'm submitting a…
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
My i3 config has the following workspacewise:
My polybar has the following:
Where a through e are icons.
I would expect polybar to display the items next to the name, both when I switch to a new workspace and when I move a container there (polybar is configured accordingly).
However, polybar does only display both icon and name, when I move a container to a new workspace. This workspace is then not mapped to
When I switch to a workspace, I get a new workspace with the same name, but no icon.
This behaviour only holds for workspaces 1 through 3, all others work accordingly.
i3 version: I am running i3-gaps version 220.127.116.11 on Arch linux with polybar.
Logfile URL: https://logs.i3wm.org/logs/5746196614217728.bz2
- Linux Distribution & Version: Arch Linux Kernel 4.17.2-1 - Are you using a compositor (e.g., xcompmgr or compton): compton
I think you have trailing whitespace in your config file. Delete the spaces in the end of these 3 lines:
@Airblader: should we trim trailing whitespaces in workspace names?
referenced this issue
Jul 15, 2018
I don't think we should trim them from workspace names, but in the config – yes. If a user wants spaces (and there are users who do), they should quote the name.