summaryrefslogtreecommitdiff
path: root/plasma-desktop
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-19 01:18:05 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-19 01:18:05 +0100
commitbe1180372f14bd699d7919ba6dad0308d31192f9 (patch)
tree0e9810df6a04d44c1a76632ef16f1d43f7b23c1b /plasma-desktop
downloadetcskel-kanotix-be1180372f14bd699d7919ba6dad0308d31192f9.zip
etcskel-kanotix-be1180372f14bd699d7919ba6dad0308d31192f9.tar.gz
Initial commit
Diffstat (limited to 'plasma-desktop')
-rw-r--r--plasma-desktop/updates/01-kanotix-default-setup.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/plasma-desktop/updates/01-kanotix-default-setup.js b/plasma-desktop/updates/01-kanotix-default-setup.js
new file mode 100644
index 0000000..23caaca
--- /dev/null
+++ b/plasma-desktop/updates/01-kanotix-default-setup.js
@@ -0,0 +1,37 @@
+var activity = activityForScreen(0);
+
+var panel = new Panel("panel");
+panel.location = "bottom";
+launcher = panel.addWidget("launcher");
+launcher.globalShortcut = "Alt+F1"
+launcher.writeConfig("Share", "false");
+launcher.writeConfig("icon", "start-here-kanotix");
+launcher.reloadConfig();
+panel.addWidget("showdesktop");
+
+dolphinIcon = panel.addWidget("icon");
+dolphinIcon.writeConfig("Url", "file:///usr/share/applications/kde4/dolphin.desktop");
+dolphinIcon.reloadConfig();
+
+iceweaselIcon = panel.addWidget("icon");
+iceweaselIcon.writeConfig("Url", "file:///usr/share/applications/iceweasel.desktop");
+iceweaselIcon.reloadConfig();
+
+konsoleIcon = panel.addWidget("icon");
+konsoleIcon.writeConfig("Url", "file:///usr/share/applications/kde4/konsole.desktop");
+konsoleIcon.reloadConfig();
+
+panel.addWidget("pager");
+panel.addWidget("tasks");
+
+systray = panel.addWidget("systemtray");
+i = 0;
+if (hasBattery) {
+ systray.currentConfigGroup = new Array("Applets", ++i);
+ systray.writeConfig("plugin", "battery");
+}
+systray.currentConfigGroup = new Array("Applets", ++i);
+systray.writeConfig("plugin", "notifier");
+
+clock = panel.addWidget("digital-clock");
+clock.writeConfig("showDate", "true");