Recreating i3info #167
Replies: 1 comment 1 reply
-
Awesome! I see in your readme, that a parsing error occurs. It is most likely a nasty window title that breaks it. I would do this:
I wrote my version in bash, and made a quite massive regex to parse the json. I have had some issues, but managed to perfect that regex over time, and now its been long since it had problems. And if it would have problems, it doesn't crash, it simply doesn't update the info. I guess that is a solution as well, if there is some way to keep the script going even if My script, i3king, uses a similar method as my secret i3info script, this part is what takes the regex created here and "transforms" the json to a bash array. I have been wanting to make a GTK variant of i3info. I hope you will resolve the issue. Have a nice day! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey budlabs,
Your work is excellent and inspiring.
I have tried to recreate your super top secret i3info program.
You indicate that you may or may not release your version.
My version has some problems, and I am looking for help making it reliable.
It is here i3_info.
Thanks for making i3ass and all your awesome videos!
Beta Was this translation helpful? Give feedback.
All reactions