Add spawn -tags argument to allow setting inital tags
I prefer to put my instant messengers/chats in a certain tag, which is not visble by default and just having the notifications form them when I do other stuff. Every time I start river I have to spawn them manually, which gets tedious over time. Is there a way to automate that process?
Not yet, but it is planned to add a -tags argument to spawn that allows setting the tags to spawn the program with. This will work by keeping track of the pid of the spawned process and checking against the pid of new wayland clients that map a toplevel.
@ifreund Is there any chance we can get this feature, I tried implement it myself but I don't have enough acknowledge about zig and wayland APIs
With xdg-activation there is now a better, non pid based way to implement this. See this wlroots PR https://github.com/swaywm/wlroots/pull/3305