This commit is contained in:
Valeria Fadeeva 2024-12-02 21:49:13 +05:00
parent d812c40c9e
commit a312ad5d34
4 changed files with 60 additions and 20 deletions

View File

@ -1,6 +1,16 @@
var plasma = getApiVersion(1);
let allDesktops = desktops();
for (i=0;i<allDesktops.length;i++) {
desktop = allDesktops[i];
desktop.wallpaperPlugin = "a2n.blur";
}
var desktopsArray = desktopsForActivity(currentActivity());
for( var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = 'a2n.blur';
}
// for (i=0;i<allDesktops.length;i++) {
// desktop = allDesktops[i];
// desktop.wallpaperPlugin = "org.kde.slideshow";
@ -16,16 +26,16 @@ 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];
//
// // 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);
// }
/*General*/
@ -290,6 +300,8 @@ Buttons.writeEntry("ButtonsOnRight", "IAX");
/* Decorator of aurorae */
Decorator = ConfigFile("kwinrc");
Decorator.group = "org.kde.kdecoration2";
Decorator.writeEntry("BorderSize", "Normal");
Decorator.writeEntry("BorderSizeAuto", "false");
Decorator.writeEntry("library", "org.kde.klassy");
Decorator.writeEntry("theme", "Klassy");
@ -304,23 +316,36 @@ Plugins.writeEntry("desktopchangeosdEnabled", "true");
Plugins.writeEntry("diminactiveEnabled", "true");
Plugins.writeEntry("dimscreenEnabled", "true");
Plugins.writeEntry("fadedesktopEnabled", "true");
Plugins.writeEntry("fadingpopupsEnabled", "false");
Plugins.writeEntry("kinetic_fadingpopupsEnabled", "true");
Plugins.writeEntry("kinetic_scaleEnabled", "true");
Plugins.writeEntry("kinetic_squashEnabled", "true");
Plugins.writeEntry("kinetic_maximizeEnabled", "false");
Plugins.writeEntry("maximizeEnabled", "true");
Plugins.writeEntry("kinetic_fadingpopupsEnabled", "false");
Plugins.writeEntry("fadingpopupsEnabled", "true");
Plugins.writeEntry("kinetic_scaleEnabled", "false");
Plugins.writeEntry("scaleEnabled", "true");
Plugins.writeEntry("kinetic_squashEnabled", "false");
Plugins.writeEntry("squashEnabled", "true");
Plugins.writeEntry("kwin4_effect_cornersshaderEnabled", "true");
Plugins.writeEntry("kwin4_effect_fadedesktopEnabled", "true");
Plugins.writeEntry("kwin4_effect_shapecornersEnabled", "true");
Plugins.writeEntry("kwin4_effect_translucencyEnabled", "true");
Plugins.writeEntry("kwin_effect_lightlyshadersEnabled", "false");
Plugins.writeEntry("maximizeEnabled", "false");
Plugins.writeEntry("presentwindowsEnabled", "false");
Plugins.writeEntry("scaleEnabled", "false");
Plugins.writeEntry("slideEnabled", "false");
Plugins.writeEntry("squashEnabled", "false", "");
Plugins.writeEntry("translucencyEnabled", "true");
/* Effect-overview */
Overview = ConfigFile("kwinrc");
Overview.group = "Effect-overview";
Overview.writeEntry("BorderActivate", "9");
/* Effect-translucency */
Translucency = ConfigFile("kwinrc");
Translucency.group = "Effect-translucency";

View File

@ -1,6 +1,11 @@
loadTemplate("org.github.Melawy.desktop.MelawyPanel")
// var desktopsArray = desktopsForActivity(currentActivity());
// for( var j = 0; j < desktopsArray.length; j++) {
// desktopsArray[j].wallpaperPlugin = 'org.kde.image';
// }
var desktopsArray = desktopsForActivity(currentActivity());
for( var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = 'org.kde.image';
desktopsArray[j].wallpaperPlugin = 'a2n.blur';
}

View File

@ -1,6 +1,11 @@
loadTemplate("org.github.Melawy.desktop.MelawyPanel")
// var desktopsArray = desktopsForActivity(currentActivity());
// for( var j = 0; j < desktopsArray.length; j++) {
// desktopsArray[j].wallpaperPlugin = 'org.kde.image';
// }
var desktopsArray = desktopsForActivity(currentActivity());
for( var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = 'org.kde.image';
desktopsArray[j].wallpaperPlugin = 'a2n.blur';
}

View File

@ -1,6 +1,11 @@
loadTemplate("org.github.Melawy.desktop.MelawyPanel")
// var desktopsArray = desktopsForActivity(currentActivity());
// for( var j = 0; j < desktopsArray.length; j++) {
// desktopsArray[j].wallpaperPlugin = 'org.kde.image';
// }
var desktopsArray = desktopsForActivity(currentActivity());
for( var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = 'org.kde.image';
desktopsArray[j].wallpaperPlugin = 'a2n.blur';
}