From 06aafc5dda0b85ce9db398d29d93fee3fb843cc2 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Wed, 23 Oct 2024 20:58:13 +0500 Subject: [PATCH] Update --- .../contents/layout.js | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js index 29404c6..a4e7f31 100644 --- a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js +++ b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js @@ -16,25 +16,17 @@ let allDesktops = desktops(); // desktop.writeConfig("SlidePaths", "/usr/share/plasma/wallpapers,/usr/share/wallpapers"); // } -// for (let i = 0; i < allDesktops.length; i++) { -// let desktop = allDesktops[i]; -// -// // Add the widget to the desktop -// let widget = desktop.addWidget("luisbocanegra.desktop.wallpaper.effects"); -// -// widget.currentConfigGroup = ["General"]; -// widget.writeConfig("colorizationColor", "#1a7597"); -// widget.writeConfig("hideWidget", true); -// } +for (let i = 0; i < allDesktops.length; i++) { + let desktop = allDesktops[i]; -let desktop = allDesktops[0]; + // Add the widget to the desktop + let widget = desktop.addWidget("luisbocanegra.desktop.wallpaper.effects"); -// Add the widget to the desktop -let widget = desktop.addWidget("luisbocanegra.desktop.wallpaper.effects"); + widget.currentConfigGroup = ["General"]; + widget.writeConfig("colorizationColor", "#1a7597"); + widget.writeConfig("hideWidget", true); +} -widget.currentConfigGroup = ["General"]; -widget.writeConfig("colorizationColor", "#1a7597"); -widget.writeConfig("hideWidget", true); /*General*/ var panel = new Panel; @@ -107,7 +99,6 @@ let addApps = [ ["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"], ["discord.desktop", "com.discordapp.Discord.desktop"], ["Zoom.desktop", "us.zoom.Zoom.desktop"], - ["firefoxdeveloperedition.desktop", "firefoxdeveloperedition.desktop"], ["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"], ["firefox.desktop", "org.mozilla.firefox.desktop"], ["brave-browser.desktop", "com.brave.Browser.desktop"],