summaryrefslogtreecommitdiff
path: root/kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/contents
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-05-18 05:56:33 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2012-05-18 05:56:33 +0200
commitd18ec281cdcf2851180de54620206f394fda255e (patch)
tree323a5773652937eef705869e5bf29136cce72fa1 /kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/contents
parente42c2f330d1a997433323977734a26d3ab99f755 (diff)
downloadetcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.zip
etcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.tar.gz
import changes from debian package version 2.0.0
Diffstat (limited to 'kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/contents')
-rw-r--r--kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/contents/layout.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/contents/layout.js b/kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/contents/layout.js
new file mode 100644
index 0000000..8b0966c
--- /dev/null
+++ b/kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/contents/layout.js
@@ -0,0 +1,26 @@
+// take care that the desktop isn't locked
+var was_locked = false;
+if (locked) {
+ was_locked = true;
+ locked = false;
+}
+
+var activity = new Activity
+activity.name = i18n("Desktop");
+activity.wallpaperPlugin = "image";
+activity.wallpaperMode = "SingleImage";
+var wallpaper = "kanotix-starrise";
+activity.currentConfigGroup = new Array("Wallpaper", "image");
+activity.writeConfig("wallpaper", wallpaper);
+activity.writeConfig("userswallpaper", wallpaper);
+
+var folderview = activity.addWidget("folderview");
+folderview.writeConfig("url", userDataPath("desktop"));
+folderview.writeConfig("geometry", QRectF(0,0,600,400));
+
+loadTemplate("com.kanotix.kde.plasma-desktop.defaultPanel");
+
+// restore previous lock state
+if (was_locked) {
+ locked = true;
+}