mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-26 11:52:52 +00:00
19 lines
587 B
JavaScript
19 lines
587 B
JavaScript
loadTemplate("org.kde.plasma-desktop.defaultPanel")
|
|
|
|
for (var i = 0; i < screenCount; ++i) {
|
|
var desktop = new Activity
|
|
desktop.name = i18n("Desktop")
|
|
desktop.screen = i
|
|
desktop.wallpaperPlugin = 'image'
|
|
desktop.wallpaperMode = 'SingleImage'
|
|
|
|
//Create more panels for other screens
|
|
if (i > 0){
|
|
var panel = new Panel
|
|
panel.screen = i
|
|
panel.location = 'bottom'
|
|
panel.height = screenGeometry(i).height > 1024 ? 35 : 27
|
|
var tasks = panel.addWidget("tasks")
|
|
tasks.writeConfig("showOnlyCurrentScreen", true);
|
|
}
|
|
}
|