Toggling a KWin script from a bash script?

Is it possible to toggle a certain Kwin script by using a bash script (whilst pressing a keyboard shortcut key)? It would be neat to display a system notice "Enabled" or "Disabled" accordingly. Thanks!

notify-send mymessage, for kwin you need to install kwin-cli, not sure what the package name is, can probably check tonight if I remember.

Is it a part of kde-cli-tools?

Try this:

qdbus org.kde.KWin /Scripting script-path

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by