-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[i3get] title is not being printed if it contains ":" #174
Comments
thanks for the report i will look into it. just to be sure what is your output of: |
i managed to reproduce the issue and i think i have found a fix. "geometry":{"x":0,"y":0,"w":0,"h":0},"name":"cool title:with colon","title_format":"..." I parse with AWK simply by splitting records on "," and fields on ":" and i always assume(d) the name of the property is the second to last field.. Usually that is the first field. But sometimes like with "geometry", the second to last field is "x".
But if the title has a colon, "name" will not be the second to last key, and it was ignored. I fixed it now and applied the same fix to "title_format" ( |
Fix for #174 Since we split fields : this messed up the assumptions of the relevant property ("name":) being the second to last field.
Sorry for the late response but I just woke up... Here's an
I'm using the aur version of i3ass.
Glad to hear that :) |
I recently watched your video on custom title module for polybar and when I run
i3get -r t
, it didn't work on the browser tab with your video, but worked on anything else.I tried to investigate by testing
i3get
with bunch of random symbols but it seems that it only doesn't work with:
.The text was updated successfully, but these errors were encountered: