I3-save-layout doesn't work as expected. Json file is empty!
I'm using I3 4.8, have installed the perl modules AnyEvent::i3, JSON::XS and AnyEvent::Handle, along with i3-save-layout.
When I run the command
i3-save-tree --workspace 2: Ranger/NCMPCPP > .i3/ws2.2.json
the resulting file contains just one line:
// vim:ts=4:sw=4:et
When it should actually be containing the layout. Is this a bug, and why does it happen? Or is it something else, related to dependencies?
Would really appreciate some input on this. Seems to be a neat and useful feature.