summaryrefslogtreecommitdiff
path: root/kf5-kanotix-settings/share
diff options
context:
space:
mode:
Diffstat (limited to 'kf5-kanotix-settings/share')
-rw-r--r--kf5-kanotix-settings/share/plasma/desktoptheme/Steelfire/metadata.desktop28
-rw-r--r--kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/contents/layout.js91
-rw-r--r--kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.desktop16
-rw-r--r--kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.json24
-rw-r--r--kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/defaults20
-rw-r--r--kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/metadata.desktop11
-rw-r--r--kf5-kanotix-settings/share/plasma/shells/org.kde.plasma.desktop/contents/layout.js8
7 files changed, 198 insertions, 0 deletions
diff --git a/kf5-kanotix-settings/share/plasma/desktoptheme/Steelfire/metadata.desktop b/kf5-kanotix-settings/share/plasma/desktoptheme/Steelfire/metadata.desktop
new file mode 100644
index 0000000..22dc9c0
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/desktoptheme/Steelfire/metadata.desktop
@@ -0,0 +1,28 @@
+[Desktop Entry]
+Name=Steelfire
+Name[de]=Steelfire
+Name[en_GB]=Steelfire
+
+X-KDE-PluginInfo-Author=KDE Visual Design Group
+X-KDE-PluginInfo-Email=retabell@gmx.de
+X-KDE-PluginInfo-Name=Steelfire
+X-KDE-PluginInfo-Version=5.25
+X-KDE-PluginInfo-Website=http://kanotix.com
+X-KDE-PluginInfo-Category=
+X-KDE-PluginInfo-Depends=
+X-KDE-PluginInfo-License=LGPL
+X-KDE-PluginInfo-EnabledByDefault=true
+X-Plasma-API=5.0
+
+[Wallpaper]
+defaultWallpaperTheme=kanotix-starrise
+defaultFileSuffix=.png
+defaultWidth=1920
+defaultHeight=1080
+
+[ContrastEffect]
+enabled=true
+contrast=0.2
+#intensity is disabled, in order to auto adjust to the chosen theme color
+#intensity=2.0
+saturation=1.7
diff --git a/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/contents/layout.js b/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/contents/layout.js
new file mode 100644
index 0000000..3231673
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/contents/layout.js
@@ -0,0 +1,91 @@
+var panel = new Panel
+var panelScreen = panel.screen
+var freeEdges = {"bottom": true, "top": true, "left": true, "right": true}
+
+for (i = 0; i < panelIds.length; ++i) {
+ var tmpPanel = panelById(panelIds[i])
+ if (tmpPanel.screen == panelScreen) {
+ // Ignore the new panel
+ if (tmpPanel.id != panel.id) {
+ freeEdges[tmpPanel.location] = false;
+ }
+ }
+}
+
+if (freeEdges["bottom"] == true) {
+ panel.location = "bottom";
+} else if (freeEdges["top"] == true) {
+ panel.location = "top";
+} else if (freeEdges["left"] == true) {
+ panel.location = "left";
+} else if (freeEdges["right"] == true) {
+ panel.location = "right";
+} else {
+ // There is no free edge, so leave the default value
+ panel.location = "top";
+}
+
+panel.height = gridUnit * 2.45
+
+var kickoff = panel.addWidget("org.kde.plasma.kickoff")
+kickoff.currentConfigGroup = ["Shortcuts"]
+kickoff.writeConfig("global", "Alt+F1")
+
+//panel.addWidget("Kanotix-Design, Icon = Mini-All, Dolphin, Konsole, Webbrowser")
+panel.addWidget("org.kde.plasma.minimizeall")
+dolphinIcon = panel.addWidget("org.kde.plasma.icon")
+dolphinIcon.writeConfig("url", "file:///usr/share/applications/org.kde.dolphin.desktop")
+konsoleIcon = panel.addWidget("org.kde.plasma.icon")
+konsoleIcon.writeConfig("url", "file:///usr/share/applications/org.kde.konsole.desktop")
+webbrowserIcon = panel.addWidget("org.kde.plasma.icon")
+webbrowserIcon.writeConfig("url", "file:///usr/share/applications/x-www-browser.desktop")
+
+//panel.addWidget("org.kde.plasma.showActivityManager")
+panel.addWidget("org.kde.plasma.pager")
+panel.addWidget("org.kde.plasma.taskmanager")
+
+/* Next up is determining whether to add the Input Method Panel
+ * widget to the panel or not. This is done based on whether
+ * the system locale's language id is a member of the following
+ * white list of languages which are known to pull in one of
+ * our supported IME backends when chosen during installation
+ * of common distributions. */
+
+var langIds = ["as", // Assamese
+ "bn", // Bengali
+ "bo", // Tibetan
+ "brx", // Bodo
+ "doi", // Dogri
+ "gu", // Gujarati
+ "hi", // Hindi
+ "ja", // Japanese
+ "kn", // Kannada
+ "ko", // Korean
+ "kok", // Konkani
+ "ks", // Kashmiri
+ "lep", // Lepcha
+ "mai", // Maithili
+ "ml", // Malayalam
+ "mni", // Manipuri
+ "mr", // Marathi
+ "ne", // Nepali
+ "or", // Odia
+ "pa", // Punjabi
+ "sa", // Sanskrit
+ "sat", // Santali
+ "sd", // Sindhi
+ "si", // Sinhala
+ "ta", // Tamil
+ "te", // Telugu
+ "th", // Thai
+ "ur", // Urdu
+ "vi", // Vietnamese
+ "zh_CN", // Simplified Chinese
+ "zh_TW"] // Traditional Chinese
+
+if (langIds.indexOf(languageId) != -1) {
+ panel.addWidget("org.kde.plasma.kimpanel");
+}
+
+panel.addWidget("org.kde.plasma.systemtray")
+panel.addWidget("org.kde.plasma.digitalclock")
diff --git a/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.desktop b/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.desktop
new file mode 100644
index 0000000..6cbfdb4
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.desktop
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Kanotix Panel
+Type=Service
+ServiceTypes=Plasma/LayoutTemplate
+X-Plasma-Shell=plasmashell
+X-Plasma-ContainmentCategories=panel
+X-KDE-PluginInfo-Author=Holger Paradies
+X-KDE-PluginInfo-Email=retabell@gmx.de
+X-KDE-PluginInfo-Name=org.kde.plasma.desktop.kanotixPanel
+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
diff --git a/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.json b/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.json
new file mode 100644
index 0000000..4398ba6
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/layout-templates/org.kde.plasma.desktop.kanotixPanel/metadata.json
@@ -0,0 +1,24 @@
+{
+ "KPlugin": {
+ "Authors": [
+ {
+ "Email": "retabell@gmx.de",
+ "Name": "Holger Paradies"
+ }
+ ],
+ "Category": "",
+ "Dependencies": [
+ ],
+ "EnabledByDefault": true,
+ "Id": "org.kde.plasma.desktop.kanotixPanel",
+ "License": "GPL",
+ "Name": "Kanotix Panel",
+ "ServiceTypes": [
+ "Plasma/LayoutTemplate"
+ ],
+ "Version": "1.0",
+ "Website": "http://kanotix.com/"
+ },
+ "X-Plasma-ContainmentCategories": "panel",
+ "X-Plasma-Shell": "plasmashell"
+}
diff --git a/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/defaults b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/defaults
new file mode 100644
index 0000000..7698769
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/contents/defaults
@@ -0,0 +1,20 @@
+[kcminputrc][Mouse]
+cursorTheme=breeze_cursors
+
+[kcminputrc][Mouse][WindowSwitcher]
+LayoutName=org.kde.breeze.desktop
+
+[kcminputrc][Mouse][WindowSwitcher][DesktopSwitcher]
+LayoutName=org.kde.breeze.desktop
+
+[kdeglobals][General]
+ColorScheme=Breeze
+
+[kdeglobals][KDE]
+widgetStyle=breeze
+
+[plasmarc][Theme]
+name=Steelfire
+
+[Desktop][org.kde.plasma.desktop]
+Containment=org.kde.plasma.folder
diff --git a/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/metadata.desktop b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/metadata.desktop
new file mode 100644
index 0000000..33ed23c
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/look-and-feel/Steelfire/metadata.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Comment=Kanotix-Steelfire
+Name=Steelfire
+X-KDE-PluginInfo-Author=Holger Paradies
+X-KDE-PluginInfo-Category=Plasma Look And Feel
+X-KDE-PluginInfo-Email=retabell@gmx.de
+X-KDE-PluginInfo-EnabledByDefault=true
+X-KDE-PluginInfo-License=GPL 2+
+X-KDE-PluginInfo-Name=Steelfire
+X-KDE-PluginInfo-Version=0.1
+X-KDE-PluginInfo-Website=https://kanotix.de
diff --git a/kf5-kanotix-settings/share/plasma/shells/org.kde.plasma.desktop/contents/layout.js b/kf5-kanotix-settings/share/plasma/shells/org.kde.plasma.desktop/contents/layout.js
new file mode 100644
index 0000000..8c5d90c
--- /dev/null
+++ b/kf5-kanotix-settings/share/plasma/shells/org.kde.plasma.desktop/contents/layout.js
@@ -0,0 +1,8 @@
+
+loadTemplate("org.kde.plasma.desktop.kanotixPanel")
+
+var desktopsArray = desktopsForActivity(currentActivity());
+for( var j = 0; j < desktopsArray.length; j++) {
+ desktopsArray[j].wallpaperPlugin = 'org.kde.image';
+ //var clock = desktopsArray[j].addWidget("org.kde.plasma.analogclock");
+}