Sys admins, KDE distributors and power users can now write small ECMA Script snippets and execute them in the new interactive scripting console:
They can also be put in share/plasma-desktop/init/ to set up Plasma layouts on first log-in (or whenever there is no existing configuration) or in share/plasma-desktop/updates/ to alter the plasma-desktop configuration on its next start.
I did up a screen cast to show some of the things that can be done, which you can watch on BlipTV (OGG video version) or in the embedded player below:
The current API can be seen here and I'm looking for input as to what else to add. For instance, in the current plasma-desktop defaults we check to see if there are any batteries by asking the battery dataengine; that's currently not possible in plasma-desktop ECMA Script environment, but would be pretty easy to add. What's there now is what I consider the bare minimum to be useful (and it's a fair amount already), but I know we'll need/want some more things in there. Your input, particularly if you are a sys admin or KDE distributor, will be instrumental in helping put together the list of use cases the scripting needs to accommodate.
In other Plasma news, you can now drag-and-drop images, or any other file that a wallpaper plugin might in future support, to the desktop and have it become your wallpaper.
Both of these features landed during Tokamak 3.