tcorreabr / Parachute

Look at your windows and desktops from above.
GNU General Public License v3.0
356 stars 32 forks source link

Restarting script without restarting kWin #39

Closed anesuc closed 4 years ago

anesuc commented 4 years ago

Hi,

I was wondering is there any possibility to be able to restart the script without restarting kWin?

Thanks

tcorreabr commented 4 years ago

You can uncheck and re-check the script in the KWin Scripts window. Or call dbus methods for unloadScript and loadScript.

anesuc commented 4 years ago

@tcorreabr Thanks for the response. I am looking for a way to do it programmatically, so the dbus way is the way to go. Do you have an idea of how to go about this? I've been looking online and I am yet to find a solution to this. Unless if you mean completely uninstall and then re-install?

anesuc commented 4 years ago

I figured it out. Thanks for the help anyway. For anyone looking for this here:

kwriteconfig5 --file ~/.config/kwinrc --group Plugins --key ParachuteEnabled false qdbus org.kde.KWin /KWin reconfigure Then change it to true and reconfigure again