Copy Activity - Create Activity by template?

Marco Martin notmart at gmail.com
Sun Sep 4 09:41:14 UTC 2016


On Sat, Sep 3, 2016 at 2:18 PM, Michail Vourlakos <mvourlakos at gmail.com> wrote:
> Hello everyone,
>
> I received from one my users a question:
>
> "I like your plasmoid but I want to use it with many of my activities but I
> dont want its defaults, is there a way to set its defaults once and be kept
> in ordet to be used whenever I add your plasmoid?"


he could add a  default setup javascrpit file in the look and
feelpackage he's using.
a proper named javascript file is executed every time a plasmoid is
added, this is designed for distributions that want to have a
different default or the plasmoid.

(in look and feel package, plasmoidsetupscripts/plasmoidpluginname.js)
for instance ~/.local/share/plasma/look-and-feel/org.kde.test/contents/plasmoidsetupscripts/org.kde.plasma.analogclock.js

--
Marco Martin


More information about the Plasma-devel mailing list