This commit is contained in:
Valeria Fadeeva 2024-10-23 20:49:56 +05:00
parent f92e69c2a2
commit 5db37d8766
1 changed files with 17 additions and 8 deletions

View File

@ -16,16 +16,25 @@ 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];
// 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);
// }
let desktop = allDesktops[0];
// 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.writeConfig("colorizationColor", "#1a7597");
widget.writeConfig("hideWidget", true);
/*General*/
var panel = new Panel;