This commit is contained in:
Valeria Fadeeva 2025-01-04 13:49:24 +05:00
parent 096c971547
commit 1dfa290371
1 changed files with 23 additions and 18 deletions

View File

@ -1,17 +1,22 @@
let plasma = getApiVersion(1);
// let plasma = getApiVersion(1);
let allDesktops = desktops();
for (i=0;i<allDesktops.length;i++) {
desktop = allDesktops[i];
desktop.wallpaperPlugin = "a2n.blur";
desktop.currentConfigGroup = Array("Wallpaper", "a2n.blur", "General");
desktop.writeConfig("FillMode", 0);
}
let desktopsArray = desktopsForActivity(currentActivity());
for(j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = 'a2n.blur';
desktopsArray[j].currentConfigGroup = Array("Wallpaper", "a2n.blur", "General");
desktopsArray[j].writeConfig("FillMode", 0);
}
// for (i=0;i<allDesktops.length;i++) {
// desktop = allDesktops[i];
// desktop.wallpaperPlugin = "org.kde.slideshow";
@ -118,7 +123,7 @@ if (aspect_ratio > 1.8) {
/*App Launcher*/
let baseApps = [
"melawy-welcome.desktop",
"melawy-welcome.desktop",
"systemsettings.desktop",
"pamac.desktop",
"org.kde.dolphin.desktop",
@ -128,7 +133,7 @@ let baseApps = [
];
let addApps = [
["code.desktop", "com.visualstudio.code.desktop"],
["code.desktop", "com.visualstudio.code.desktop"],
["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"],
["discord.desktop", "com.discordapp.Discord.desktop"],
["Zoom.desktop", "us.zoom.Zoom.desktop"],
@ -175,25 +180,25 @@ start_menu.writeConfig("systemFavorites", "");
start_menu.writeConfig("favorites", `${applications}`);
start_menu.writeConfig("appDescription", "hidden");
start_menu.writeConfig("appListWidth", "400");
start_menu.writeConfig("appListWidth", 400);
start_menu.writeConfig("compactMode", "true");
start_menu.writeConfig("defaultAppListView", "TilesOnly");
start_menu.writeConfig("defaultTileColor", "#e4606060");
start_menu.writeConfig("defaultTileGradient", "true");
start_menu.writeConfig("favGridCols", "6");
start_menu.writeConfig("numberRows", "5");
start_menu.writeConfig("favGridCols", 6);
start_menu.writeConfig("numberRows", 5);
start_menu.writeConfig("floating", "true");
start_menu.writeConfig("fullscreen", "true");
start_menu.writeConfig("groupLabelAlignment", "center");
start_menu.writeConfig("menuItemHeight", "24");
start_menu.writeConfig("numRecentApps", "10");
start_menu.writeConfig("popupHeight", "700");
start_menu.writeConfig("menuItemHeight", 24);
start_menu.writeConfig("numRecentApps", 10);
start_menu.writeConfig("popupHeight", 700);
start_menu.writeConfig("searchFieldFollowsTheme", "true");
start_menu.writeConfig("searchFieldHeight", "36");
start_menu.writeConfig("searchFieldHeight", 36);
start_menu.writeConfig("searchResultsMerged", "false");
start_menu.writeConfig("sidebarButtonSize", "36");
start_menu.writeConfig("sidebarButtonSize", 36);
start_menu.writeConfig("sidebarFollowsTheme", "true");
start_menu.writeConfig("sidebarIconSize", "24");
start_menu.writeConfig("sidebarIconSize", 24);
start_menu.writeConfig("tileLabelAlignment", "center");
// 0 = Auto, 1 = Center, 2 = Center Bottom
@ -288,9 +293,9 @@ PlacesPanel.writeEntry('IconSize', 16);
/*Clock*/
panel_clock = panel.addWidget("org.kde.plasma.digitalclock");
panel_clock.currentConfigGroup = ["Appearance"];
panel_clock.writeConfig("fontSize", "12");
panel_clock.writeConfig("fontSize", 12);
panel_clock.writeConfig("autoFontAndSize", "true");
panel_clock.writeConfig("showSeconds", "Always");
panel_clock.writeConfig("showSeconds", 2);
/*Notification*/
@ -304,7 +309,7 @@ win7showdesktop.currentConfigGroup = ["General"];
win7showdesktop.writeConfig("edgeColor", "#66888888");
win7showdesktop.writeConfig("hoveredColor", "#66777777");
win7showdesktop.writeConfig("pressedColor", "#66555555");
win7showdesktop.writeConfig("size", "7");
win7showdesktop.writeConfig("size", 7);
/* accent color config*/
@ -392,14 +397,14 @@ Plugins.writeEntry("translucencyEnabled", "true");
/* Effect-overview */
Overview = ConfigFile("kwinrc");
Overview.group = "Effect-overview";
Overview.writeEntry("BorderActivate", "9");
Overview.writeEntry("BorderActivate", 9);
/* Effect-translucency */
Translucency = ConfigFile("kwinrc");
Translucency.group = "Effect-translucency";
Translucency.writeEntry("Inactive", "95");
Translucency.writeEntry("MoveResize", "85");
Translucency.writeEntry("Inactive", 95);
Translucency.writeEntry("MoveResize", 85);
/* PrimaryOutline */