This commit is contained in:
Valeria Fadeeva 2024-12-01 03:54:45 +05:00
parent c993d9d9c2
commit e7d3a9f4ed
1 changed files with 17 additions and 14 deletions

View File

@ -25,7 +25,6 @@ for (let i = 0; i < allDesktops.length; i++) {
widget.currentConfigGroup = ["General"];
widget.writeConfig("colorizationColor", "#1a7597");
widget.writeConfig("hideWidget", true);
// widget.reloadConfig();
}
@ -162,7 +161,6 @@ start_menu.writeConfig("sidebarButtonSize", "36");
start_menu.writeConfig("sidebarFollowsTheme", "true");
start_menu.writeConfig("sidebarIconSize", "24");
start_menu.writeConfig("tileLabelAlignment", "center");
// start_menu.reloadConfig();
/*Desktops button*/
@ -230,8 +228,6 @@ let extraItems = systray.readConfig("extraItems").split(",");
extraItems = arrayItemRemove(extraItems, "org.kde.plasma.notifications");
systray.writeConfig("extraItems", extraItems);
systray.writeConfig("iconSpacing", 2);
// systray.reloadConfig();
// systray.writeConfig("shownItems", "org.kde.plasma.mediacontroller,org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.weather,org.kde.plasma.battery");
@ -239,13 +235,11 @@ systray.writeConfig("iconSpacing", 2);
const IconsStatic_dolphin = ConfigFile('dolphinrc');
IconsStatic_dolphin.group = 'KFileDialog Settings';
IconsStatic_dolphin.writeEntry('Places Icons Static Size', 16);
// IconsStatic_dolphin.reloadConfig();
const PlacesPanel = ConfigFile('dolphinrc');
PlacesPanel.group = 'PlacesPanel';
PlacesPanel.writeEntry('IconSize', 16);
// PlacesPanel.reloadConfig();
/******************************/
@ -255,7 +249,6 @@ panel_clock.currentConfigGroup = ["Appearance"];
panel_clock.writeConfig("fontSize", "12");
panel_clock.writeConfig("autoFontAndSize", "true");
panel_clock.writeConfig("showSeconds", "Always");
// panel_clock.reloadConfig();
/*Notification*/
@ -270,7 +263,6 @@ win7showdesktop.writeConfig("edgeColor", "#66888888");
win7showdesktop.writeConfig("hoveredColor", "#66777777");
win7showdesktop.writeConfig("pressedColor", "#66555555");
win7showdesktop.writeConfig("size", "7");
// win7showdesktop.reloadConfig();
/* accent color config*/
@ -279,14 +271,12 @@ ColorAccetFile.group = "General";
ColorAccetFile.deleteEntry("AccentColor");
ColorAccetFile.deleteEntry("LastUsedCustomAccentColor");
ColorAccetFile.writeEntry("accentColorFromWallpaper", "true");
// ColorAccetFile.reloadConfig();
/* widgetStyle config*/
WidgetStyleFile = ConfigFile("kdeglobals");
WidgetStyleFile.group = "KDE";
WidgetStyleFile.writeEntry("widgetStyle", "Klassy");
// WidgetStyleFile.reloadConfig();
/* Buttons of aurorae */
@ -294,7 +284,6 @@ Buttons = ConfigFile("kwinrc");
Buttons.group = "org.kde.kdecoration2";
Buttons.writeEntry("ButtonsOnLeft", "");
Buttons.writeEntry("ButtonsOnRight", "IAX");
// Buttons.reloadConfig();
/* Decorator of aurorae */
@ -302,12 +291,12 @@ Decorator = ConfigFile("kwinrc");
Decorator.group = "org.kde.kdecoration2";
Decorator.writeEntry("library", "org.kde.klassy");
Decorator.writeEntry("theme", "Klassy");
// Decorator.reloadConfig();
/* Plugins of aurorae */
Plugins = ConfigFile("kwinrc");
Plugins.group = "Plugins";
Plugins.writeEntry("blurEnabled", "true");
Plugins.writeEntry("contrastEnabled", "true");
Plugins.writeEntry("cubeEnabled", "true");
Plugins.writeEntry("desktopchangeosdEnabled", "true");
@ -322,19 +311,33 @@ 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");
// Plugins.reloadConfig();
/* Effect-translucency */
Translucency = ConfigFile("kwinrc");
Translucency.group = "Effect-translucency";
Translucency.writeEntry("Inactive", "95");
Translucency.writeEntry("MoveResize", "85");
/* PrimaryOutline */
PrimaryOutline = ConfigFile("kwinrc");
PrimaryOutline.group = "PrimaryOutline";
PrimaryOutline.writeEntry("InactiveOutlineColor", "80,80,80");
PrimaryOutline.writeEntry("OutlineColor", "80,80,80");
/* Windows of aurorae */
Windows = ConfigFile("kwinrc");
Windows.group = "Windows";
Windows.writeEntry("BorderlessMaximizedWindows", "false");
// Windows.reloadConfig();
// plasma.loadSerializedLayout(layout);