Help with Configurable Widget Button

I downloaded and installed a configurable window button widget. I added it to a panel and an icon. The command I want it to perform is a Kwin shortcut: Move window to the next monitor.

I have this set up now with a hot key: Ctl+Alt+N.

But I want to be able to do this with my mouse, via the configurable window button widget. I think I am close I just need the actual command to insert in the widget.

Use this command to get the list of KWin shortcut names:

qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.shortcutNames

Then to trigger a shortcut by its name you do it like this:

qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Window to Next Screen"

Keyboard shortcuts quicker & built into KDE, IMHO.

The question was how to invoke it. The command was already provided but if not on wayland, the easiest way would be by emulating it with xdotool key ctrl+alt+n.