Is there a way to read the i3 configuration from stdin?
As I generate my configuration file for i3 on every startup, it would be very convenient to read it directly from stdin instead of writing into a temporary file and passing it as a parameter to i3.
So far i tried
command | i3 ; Reads the default configuration file (as expected).
command | i3 - ; Passes the content of the file as additional arguments.
command | i3 -c - ; Interprets "-" as a path, which obviously fails.
i3 -c <(command) ; Produces error message "i3: Could not lseek: Illegal seek".
I found nothing on google and on this page, so I wonder if there is a way to read the configuration from stdin. Did i overlook anything obvious?
Did you try `i3 $(yourcommand)`?
Well, this would just send the output of `yourcommand` as parameters to i3 as far as I know.