diff options
Diffstat (limited to 'kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity')
2 files changed, 52 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; +} diff --git a/kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/metadata.desktop b/kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/metadata.desktop new file mode 100644 index 0000000..b26c48f --- /dev/null +++ b/kde-kanotix-settings/share/apps/plasma/layout-templates/com.kanotix.kde.plasma-desktop.defaultActivity/metadata.desktop @@ -0,0 +1,26 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Kanotix Activity +Name[de]=Aktivität Kanotix +Name[en_GB]=Kanotix Activity +Name[es]=Actividad de Kanotix +Name[fr]=Activité Kanotix +Name[it]=Attività Kanotix +Name[pt]=Actividade de Kanotix +Name[pt_BR]=Atividade Kanotix +Name[x-test]=xxKanotix Activityxx +Icon=start-here-kanotix +Type=Service +ServiceTypes=Plasma/LayoutTemplate +X-Plasma-Shell=plasma-desktop +X-Plasma-ContainmentCategories=desktop +X-Plasma-ContainmentLayout-ShowAsExisting=true +X-KDE-PluginInfo-Author=Maximilian Gerhard +X-KDE-PluginInfo-Email=maxbox@directbox.com +X-KDE-PluginInfo-Name=com.kanotix.kde.plasma-desktop.defaultActivity +X-KDE-PluginInfo-Version=1.0 +X-KDE-PluginInfo-Website=http://kanotix.com/ +X-KDE-PluginInfo-Category= +X-KDE-PluginInfo-Depends= +X-KDE-PluginInfo-License=GPL +X-KDE-PluginInfo-EnabledByDefault=true |