Comments (13)
Thank you for helpful feedback, I'll release a new version now
from i3wsr.
Done, check out release v1.2.1
from i3wsr.
https://github.com/roosta/i3wsr/releases/tag/v1.2.2
from i3wsr.
I almost feel bad about it, but I have one really minor nitpick about this one:
With separator = ""
, there is a space/gap between icons. This is especially visible when run with --no-names
. I think this is the last thing that is holding me back from using i3wsr full time. :D
from i3wsr.
I have some issues removing space ATM, not sure why. Looking into it but a fix might not be incoming until next week some time. Could you illustrate what you are trying to do?
from i3wsr.
Sure. Right now, my workspaces look like this:
With i3wsr, --no-names
and separator = ""
, it looks like this:
As you can see there is an extra space character between icons and a trailing space after the last icon of a workspace. I'd prefer if they would be absent - if one wants them, they could just use the new separator option for that too I guess.
Thank you very much!
from i3wsr.
So you'd like all whitespace removed between icons? I can remove the trailing whitespace no problem but I need some way of separating icons from the lead information in the workspace (workspace number etc) So if I remove spaces between icons i3wsr doesn't know when lead information ends and workspace names start, at least not with the current implementation
from i3wsr.
Oh, there is an extra whitespace char between them? Sorry, misunderstood there for a sec, I'll try to fix that. Thanks for your feedback :)
from i3wsr.
OK, I believe i fixed the issue in the whitespace branch. Could you pop over to that branch and test it and see if it works for you @steinex?
from i3wsr.
Can confirm it works! :)
I noticed that it will remove any whitespace between the icons now though, not just the extra one (at least it looks that way). However, when using separator = " "
(mind the space) it's perfectly fine for me now and looks like on the first screenshot I posted above.
Just something to keep in mind, most people want to use something like separator = " | "
now I guess so it doesn't look weird - or you bring just that one space back minus the extraneous one. :-)
from i3wsr.
The names should now only be separated by separator
via some-vector.join()
so there isn't any trailing whitespace that I can do anything about (you sure its not the your bar config?) The separator defaults to " | "
unless something else is in the config so I think this should work for most users
from i3wsr.
Are you sure it defaults to " | "
? When I set that explicitely it looks normal, if I uncomment that out or change it to "|"
there is no single whitespace left, making it look squeezed.
It seems that with this branch, actually 2 spaces between the icons got removed instead of one. I can live fine with that using " "
, I just want you to know so it doesn't change beharviour on users.
from i3wsr.
Oh, I missed your second commit in that branch that actually switches the default to " | "
(8edb11a).
Just tested with this and everything looks good now!
Thanks for your patience and your work on this! :-)
from i3wsr.
Related Issues (20)
- Option to remove duplicates? HOT 2
- Option to specify default icon
- Using alias name for icons HOT 1
- Using regexes in alias names HOT 3
- No-names tag does not work with default_icons HOT 4
- Issue when trying to install i3wsr HOT 4
- option for hiding windows names HOT 9
- wm_property to "name" produce get_title error HOT 8
- Duplicate workspace is created when applications are assigned workspaces HOT 4
- i3wsr incompatible with auto-assigning applications to workspaces HOT 4
- Where can i find icons to use HOT 1
- allways show icons HOT 1
- Ignore specific namespaces HOT 5
- Using aliases to edit, not overwrite, names HOT 3
- Feature inquiry: using a combination of both WM_NAME and WM_CLASS HOT 3
- number / name separator for polybar strip_wsnumbers HOT 3
- Mouse hover on i3bar causes automatic workspace switching to first workspace HOT 13
- [HELP] Empty workspace custom label HOT 4
- Issue in config file with certain app names HOT 2
- Crashing when WM_CLASS is not set HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3wsr.