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,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"],