scripting i3. How ?
So my main concern is that the language used for .config is not a real scripting language but some sort of English dialect. Like those jokes about people trying to talk with the shell in pure English :). Then again that is not a trivial matter to program and Michael said he is not going in that direction and they also moved to a home made informative parser, which is nice I guess.
So what is left for me to do? I want to fell the tree structure with my keyboard and adjust it accordingly. First of how do I now if a command passed to i3-msg executed successively all I get is [{"success":true}]? What sort of information i3 output's to me? I need to be able to query stuff.
So I saw that i3-msg has some functionality like printing the tree structure and workspaces , outputs and similar but what should I do with this? I guess the tree is stored somewhere in some file and that I need to adjust it by changing that file "manually" ??? In that case I would really need more powerful robust commands instead of doing it by hand or implementing my own function's (aka plugin).
In the end it would be best if there was a nice scripting language for i3 so that users can make there own UI and workflow and developers job wold be to provide the user with robust and powerful function's