trying to theme default plasma
[opensuse:kdebase4-opensuse.git] / branding / root / usr / share / kde4 / apps / plasma / layout-templates / org.kde.plasma-desktop.defaultPanel / contents / layout.js
1 var panel = new Panel
2 if (panelIds.length == 1) {
3     // we are the only panel, so set the location for the user
4     panel.location = 'bottom'
5 }
6
7 panel.height = screenGeometry(panel.screen).height > 1024 ? 35 : 27
8 var launcher = panel.addWidget("launcher")
9 launcher.globalShortcut = "Alt+F1";
10 // begin SUSE branding
11 panel.addWidget("showdesktop");
12 var firefox = panel.addWidget("icon");
13 firefox.writeConfig("Url", "firefox.desktop");
14 var dolphin = panel.addWidget("icon");
15 dolphin.writeConfig("Url", "dolphin.desktop");
16 // end SUSE branding
17 panel.addWidget("pager")
18 tasks = panel.addWidget("tasks")
19 panel.addWidget("systemtray")
20 panel.addWidget("digital-clock")
21
22 tasks.currentConfigGroup = new Array("Launchers")
23 tasks.writeConfig("browser", "preferred://browser, , , ")
24 tasks.writeConfig("filemanager", "preferred://filemanager, , , ")