Skip to content

Commit

Permalink
workarounds for plasma 6
Browse files Browse the repository at this point in the history
  • Loading branch information
HimDek committed Dec 23, 2023
1 parent 6d9ffe0 commit 4ec5c87
Show file tree
Hide file tree
Showing 9 changed files with 189 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,41 @@ var panel = new Panel
var panelScreen = panel.screen

panel.location = "top"
panel.hiding = "alwaysvisible"
panel.height = 2 * Math.floor(gridUnit * 13 / 18)
panel.width = screenGeometry(panelScreen).width
panel.lengthMode = "fill"
panel.alignment = "center"
//panel.opacity = "adaptive"
panel.floating = true
panel.offset = 0

var launcher = panel.addWidget("org.kde.plasma.simplekickoff")
launcher.currentConfigGroup = new Array("Shortcuts");
launcher.writeConfig("global","Alt+F1");

panel.addWidget("org.kde.plasma.simplekickoff")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowbuttons")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowtitle")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.appmenu")
//panel.addWidget("org.kde.windowbuttons")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.windowtitle")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.plasma.appmenu")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.digitalclock")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.netspeedWidget")
//panel.addWidget("org.kde.netspeedWidget")
panel.addWidget("org.kde.plasma.systemtray")

var dock = new Panel

dock.location = "bottom"
dock.hiding = "dodgewindows"
dock.height = 2 * Math.floor(gridUnit * 3 / 2)
dock.hiding = "autohide"
dock.minimumLength = 2 * Math.floor(gridUnit * 4)
dock.lengthMode = "fit"
dock.alignment = "center"
//dock.opacity = "adaptive"
dock.floating = true
dock.offset = 0

dock.addWidget("org.kde.plasma.betterkickerdash")
Expand Down
23 changes: 23 additions & 0 deletions look-and-feel-light-solid/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"KPackageStructure": "Plasma/LookAndFeel",
"KPlugin": {
"Authors": [
{
"Email": "himprakashd@gmail.com",
"Name": "Himprakash Deka"
}
],
"Category": "Plasma Look And Feel",
"Description": "A Solid global theme for KDE Plasma 5 in Light Nordic colors with rounded corners for UI elements",
"EnabledByDefault": true,
"Id": "Utterly-Nord-Light-Solid",
"License": "GPL-2.0+",
"Name": "Utterly Nord Light Solid",
"ServiceTypes": [
"Plasma/LookAndFeel"
],
"Version": "2.1",
"Website": "www.himdek.com/Utterly-Nord-Plasma"
},
"X-KPackage-Dependencies": "kns://aurorae.knsrc/api.kde-look.org/2011610,kns://colorschemes.knsrc/api.kde-look.org/1917079,kns://icons.knsrc/api.kde-look.org/1359276,kns://kwineffect.knsrc/api.kde-look.org/1270407,kns://plasma-themes.knsrc/api.kde-look.org/2011605,kns://plasmoids.knsrc/api.kde-look.org/1819888,kns://plasmoids.knsrc/api.kde-look.org/1897990,kns://plasmoids.knsrc/api.kde-look.org/998895,kns://plasmoids.knsrc/api.kde-look.org/1906579,kns://plasmoids.knsrc/api.kde-look.org/1274218,kns://sddmtheme.knsrc/api.kde-look.org/1909606,kns://wallpaper.knsrc/api.kde-look.org/1904144,kns://xcursor.knsrc/api.kde-look.org/1662218"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,41 @@ var panel = new Panel
var panelScreen = panel.screen

panel.location = "top"
panel.hiding = "alwaysvisible"
panel.height = 2 * Math.floor(gridUnit * 13 / 18)
panel.width = screenGeometry(panelScreen).width
panel.lengthMode = "fill"
panel.alignment = "center"
//panel.opacity = "adaptive"
panel.floating = true
panel.offset = 0

var launcher = panel.addWidget("org.kde.plasma.simplekickoff")
launcher.currentConfigGroup = new Array("Shortcuts");
launcher.writeConfig("global","Alt+F1");

panel.addWidget("org.kde.plasma.simplekickoff")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowbuttons")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowtitle")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.appmenu")
//panel.addWidget("org.kde.windowbuttons")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.windowtitle")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.plasma.appmenu")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.digitalclock")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.netspeedWidget")
//panel.addWidget("org.kde.netspeedWidget")
panel.addWidget("org.kde.plasma.systemtray")

var dock = new Panel

dock.location = "bottom"
dock.hiding = "dodgewindows"
dock.height = 2 * Math.floor(gridUnit * 3 / 2)
dock.hiding = "autohide"
dock.minimumLength = 2 * Math.floor(gridUnit * 4)
dock.lengthMode = "fit"
dock.alignment = "center"
//dock.opacity = "adaptive"
dock.floating = true
dock.offset = 0

dock.addWidget("org.kde.plasma.betterkickerdash")
Expand Down
23 changes: 23 additions & 0 deletions look-and-feel-light/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"KPackageStructure": "Plasma/LookAndFeel",
"KPlugin": {
"Authors": [
{
"Email": "himprakashd@gmail.com",
"Name": "Himprakash Deka"
}
],
"Category": "Plasma Look And Feel",
"Description": "A global theme for KDE Plasma 5 in Light Nordic colors with transparency, blur and rounded corners for UI elements",
"EnabledByDefault": true,
"Id": "Utterly-Nord-Light",
"License": "GPL-2.0+",
"Name": "Utterly Nord Light",
"ServiceTypes": [
"Plasma/LookAndFeel"
],
"Version": "2.1",
"Website": "www.himdek.com/Utterly-Nord-Plasma"
},
"X-KPackage-Dependencies": "kns://aurorae.knsrc/api.kde-look.org/1999027,kns://colorschemes.knsrc/api.kde-look.org/1917079,kns://icons.knsrc/api.kde-look.org/1359276,kns://kwineffect.knsrc/api.kde-look.org/1270407,kns://plasma-themes.knsrc/api.kde-look.org/1901768,kns://plasmoids.knsrc/api.kde-look.org/1819888,kns://plasmoids.knsrc/api.kde-look.org/1897990,kns://plasmoids.knsrc/api.kde-look.org/998895,kns://plasmoids.knsrc/api.kde-look.org/1906579,kns://plasmoids.knsrc/api.kde-look.org/1274218,kns://sddmtheme.knsrc/api.kde-look.org/1909606,kns://wallpaper.knsrc/api.kde-look.org/1904144,kns://xcursor.knsrc/api.kde-look.org/1662218"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,41 @@ var panel = new Panel
var panelScreen = panel.screen

panel.location = "top"
panel.hiding = "alwaysvisible"
panel.height = 2 * Math.floor(gridUnit * 13 / 18)
panel.width = screenGeometry(panelScreen).width
panel.lengthMode = "fill"
panel.alignment = "center"
//panel.opacity = "adaptive"
panel.floating = true
panel.offset = 0

var launcher = panel.addWidget("org.kde.plasma.simplekickoff")
launcher.currentConfigGroup = new Array("Shortcuts");
launcher.writeConfig("global","Alt+F1");

panel.addWidget("org.kde.plasma.simplekickoff")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowbuttons")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowtitle")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.appmenu")
//panel.addWidget("org.kde.windowbuttons")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.windowtitle")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.plasma.appmenu")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.digitalclock")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.netspeedWidget")
//panel.addWidget("org.kde.netspeedWidget")
panel.addWidget("org.kde.plasma.systemtray")

var dock = new Panel

dock.location = "bottom"
dock.hiding = "dodgewindows"
dock.height = 2 * Math.floor(gridUnit * 3 / 2)
dock.hiding = "autohide"
dock.minimumLength = 2 * Math.floor(gridUnit * 4)
dock.lengthMode = "fit"
dock.alignment = "center"
//dock.opacity = "adaptive"
dock.floating = true
dock.offset = 0

dock.addWidget("org.kde.plasma.betterkickerdash")
Expand Down
23 changes: 23 additions & 0 deletions look-and-feel-solid/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"KPackageStructure": "Plasma/LookAndFeel",
"KPlugin": {
"Authors": [
{
"Email": "himprakashd@gmail.com",
"Name": "Himprakash Deka"
}
],
"Category": "Plasma Look And Feel",
"Description": "A Solid global theme for KDE Plasma 5 in Dark Nordic colors with rounded corners for UI elements",
"EnabledByDefault": true,
"Id": "Utterly-Nord-Solid",
"License": "GPL-2.0+",
"Name": "Utterly Nord Solid",
"ServiceTypes": [
"Plasma/LookAndFeel"
],
"Version": "2.1",
"Website": "www.himdek.com/Utterly-Nord-Plasma"
},
"X-KPackage-Dependencies": "kns://aurorae.knsrc/api.kde-look.org/2011612,kns://colorschemes.knsrc/api.kde-look.org/1903937,kns://icons.knsrc/api.kde-look.org/1359276,kns://kwineffect.knsrc/api.kde-look.org/1270407,kns://plasma-themes.knsrc/api.kde-look.org/2011605,kns://plasmoids.knsrc/api.kde-look.org/1819888,kns://plasmoids.knsrc/api.kde-look.org/1897990,kns://plasmoids.knsrc/api.kde-look.org/998895,kns://plasmoids.knsrc/api.kde-look.org/1906579,kns://plasmoids.knsrc/api.kde-look.org/1274218,kns://sddmtheme.knsrc/api.kde-look.org/1909606,kns://wallpaper.knsrc/api.kde-look.org/1904144,kns://xcursor.knsrc/api.kde-look.org/1662218"
}
31 changes: 21 additions & 10 deletions look-and-feel/contents/layouts/org.kde.plasma.desktop-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,41 @@ var panel = new Panel
var panelScreen = panel.screen

panel.location = "top"
panel.hiding = "alwaysvisible"
panel.height = 2 * Math.floor(gridUnit * 13 / 18)
panel.width = screenGeometry(panelScreen).width
panel.lengthMode = "fill"
panel.alignment = "center"
//panel.opacity = "adaptive"
panel.floating = true
panel.offset = 0

var launcher = panel.addWidget("org.kde.plasma.simplekickoff")
launcher.currentConfigGroup = new Array("Shortcuts");
launcher.writeConfig("global","Alt+F1");

panel.addWidget("org.kde.plasma.simplekickoff")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowbuttons")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.windowtitle")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.appmenu")
//panel.addWidget("org.kde.windowbuttons")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.windowtitle")
//panel.addWidget("org.kde.plasma.marginsseparator")
//panel.addWidget("org.kde.plasma.appmenu")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.digitalclock")
panel.addWidget("org.kde.plasma.marginsseparator")
panel.addWidget("org.kde.plasma.panelspacer")
panel.addWidget("org.kde.netspeedWidget")
//panel.addWidget("org.kde.netspeedWidget")
panel.addWidget("org.kde.plasma.systemtray")

var dock = new Panel

dock.location = "bottom"
dock.hiding = "dodgewindows"
dock.height = 2 * Math.floor(gridUnit * 3 / 2)
dock.hiding = "autohide"
dock.minimumLength = 2 * Math.floor(gridUnit * 4)
dock.lengthMode = "fit"
dock.alignment = "center"
//dock.opacity = "adaptive"
dock.floating = true
dock.offset = 0

dock.addWidget("org.kde.plasma.betterkickerdash")
Expand Down
23 changes: 23 additions & 0 deletions look-and-feel/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"KPackageStructure": "Plasma/LookAndFeel",
"KPlugin": {
"Authors": [
{
"Email": "himprakashd@gmail.com",
"Name": "Himprakash Deka"
}
],
"Category": "Plasma Look And Feel",
"Description": "A global theme for KDE Plasma 5 in Dark Nordic colors with transparency, blur and rounded corners for UI elements",
"EnabledByDefault": true,
"Id": "Utterly-Nord",
"License": "GPL-2.0+",
"Name": "Utterly Nord",
"ServiceTypes": [
"Plasma/LookAndFeel"
],
"Version": "2.1",
"Website": "www.himdek.com/Utterly-Nord-Plasma"
},
"X-KPackage-Dependencies": "kns://aurorae.knsrc/api.kde-look.org/1999020,kns://colorschemes.knsrc/api.kde-look.org/1903937,kns://icons.knsrc/api.kde-look.org/1359276,kns://kwineffect.knsrc/api.kde-look.org/1270407,kns://plasma-themes.knsrc/api.kde-look.org/1901768,kns://plasmoids.knsrc/api.kde-look.org/1819888,kns://plasmoids.knsrc/api.kde-look.org/1897990,kns://plasmoids.knsrc/api.kde-look.org/998895,kns://plasmoids.knsrc/api.kde-look.org/1906579,kns://plasmoids.knsrc/api.kde-look.org/1274218,kns://sddmtheme.knsrc/api.kde-look.org/1909606,kns://wallpaper.knsrc/api.kde-look.org/1904144,kns://xcursor.knsrc/api.kde-look.org/1662218"
}
13 changes: 13 additions & 0 deletions wallpaper/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"KPlugin": {
"Authors": [
{
"Email": "himprakashd@gmail.com",
"Name": "Himprakash Deka"
}
],
"Id": "Utterly-Nord",
"License": "GPL-2.0+",
"Name": "Utterly-Nord"
}
}

0 comments on commit 4ec5c87

Please sign in to comment.