Sample Header Ad - 728x90

wmctrl-like tool or alternative for kde wayland

13 votes
2 answers
5749 views
A big part of my workflow is based on using shortcuts. Currently I use xbindkeys and wmctrl to run-or-raise an application. E.g: Super+F brings up firefox or run it if not running. Autokey works fine with KDE and I could also use KDE native custom shortcut manager to replace xbindkeys but I can't find (and I googled a lot) a way to determine if a window/application is running and if not, raise it. I can probably use ps or a similar command to find if an application is running and if not, launch it, but it goes to the final problem: how to raise (or focus) an existing running window/application programmatically? There seems to be some kind of gdbus solution for GNOME but of course this won't work in KDE. Does anyone have an idea or clue of what can I do?
Asked by academo (199 rep)
Jul 2, 2021, 02:56 PM
Last activity: Oct 31, 2024, 07:12 PM