SUMMARY This rule would let the user make some windows minimize to the System Tray widget instead of the Task Manager. STEPS TO REPRODUCE 1. Open an app 2. Minimize it OBSERVED RESULT It minimizes to tray. EXPECTED RESULT It minimizes normally. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.1 ADDITIONAL INFORMATION The kwin script https://github.com/luisbocanegra/kwin-minimize2tray lets the user minimize apps to tray. It doesn't support filtering by window title though, which kwin rules already do.
Apps don't minimse to a system tray, they create a system tray and close. At a kwin level this means completely hiding the window, which is outside the scope of anything window rules should ever support.