tubbadu / Scriptinator

Behold! the Scriptinator! A plasmoid button to launch custom scripts on click and on mouse scroll, allowing you to change icon dynamically
13 stars 4 forks source link
button kde plasma plasmoid widget

Scriptinator


NOTE: this is the Plasma 6 port of Scriptinator. The Plasma 5 version can still be found in the plasma5-branch branch, but I won't be working on it anymore. Eventual merge request to that branch are welcome anyway!

install

to install Scriptinator you can use the install.sh script:

git clone https://github.com/tubbadu/Scriptinator
cd Scriptinator
bash ./install.sh

usage

add the plasmoid to the desktop or to a panel, then right click on it and select configure:

Scriptinator is also shown in the system tray, but it's disabled by default: you can right click the system tray, and select Configure System Tray... > Entries, scroll down to Scriptinator, and set it to Show when relevant.

You can then change its state with:

{PlasmoidStatusStart}insert new status here{PlasmoidStatusEnd}

there are 4 possible status values:

NOTE! After changing preferences, if the changes don't apply immediately, just restart your session or launch plasmashell --replace in a terminal (or in krunner, better)

examples


TODO