I am using
swaywm as my window manager. It uses the
WM_CLASS property for the title of its containers (not sure if it is applicable only for X11 apps). It lets you group stuff, so that you can easily do scripting over a bunch of related windows.
However, the problem is that it is not uniform across applications. Sometimes you would see title case which is not nice if you have a
- separated word like
Can I control the
WMClass of an application, so that I can at-least lowercase it?
.desktop files have an option that says
StartupWMClass. How do I use that information while executing a command manually? I tried
StartupWMClass=code code but that doesn't help.