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

View File

@ -16,18 +16,8 @@ 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);
// }
let desktop = allDesktops[0];
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");
@ -35,6 +25,8 @@ let widget = desktop.addWidget("luisbocanegra.desktop.wallpaper.effects");
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"],