This commit is contained in:
Valeria Fadeeva 2024-11-25 16:51:13 +05:00
parent f4534730b5
commit c993d9d9c2
1 changed files with 56 additions and 56 deletions

View File

@ -25,7 +25,7 @@ for (let i = 0; i < allDesktops.length; i++) {
widget.currentConfigGroup = ["General"]; widget.currentConfigGroup = ["General"];
widget.writeConfig("colorizationColor", "#1a7597"); widget.writeConfig("colorizationColor", "#1a7597");
widget.writeConfig("hideWidget", true); widget.writeConfig("hideWidget", true);
widget.reloadConfig(); // widget.reloadConfig();
} }
@ -162,7 +162,7 @@ start_menu.writeConfig("sidebarButtonSize", "36");
start_menu.writeConfig("sidebarFollowsTheme", "true"); start_menu.writeConfig("sidebarFollowsTheme", "true");
start_menu.writeConfig("sidebarIconSize", "24"); start_menu.writeConfig("sidebarIconSize", "24");
start_menu.writeConfig("tileLabelAlignment", "center"); start_menu.writeConfig("tileLabelAlignment", "center");
start_menu.reloadConfig(); // start_menu.reloadConfig();
/*Desktops button*/ /*Desktops button*/
@ -230,7 +230,7 @@ let extraItems = systray.readConfig("extraItems").split(",");
extraItems = arrayItemRemove(extraItems, "org.kde.plasma.notifications"); extraItems = arrayItemRemove(extraItems, "org.kde.plasma.notifications");
systray.writeConfig("extraItems", extraItems); systray.writeConfig("extraItems", extraItems);
systray.writeConfig("iconSpacing", 2); systray.writeConfig("iconSpacing", 2);
systray.reloadConfig(); // 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"); // 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 +239,13 @@ systray.reloadConfig();
const IconsStatic_dolphin = ConfigFile('dolphinrc'); const IconsStatic_dolphin = ConfigFile('dolphinrc');
IconsStatic_dolphin.group = 'KFileDialog Settings'; IconsStatic_dolphin.group = 'KFileDialog Settings';
IconsStatic_dolphin.writeEntry('Places Icons Static Size', 16); IconsStatic_dolphin.writeEntry('Places Icons Static Size', 16);
IconsStatic_dolphin.reloadConfig(); // IconsStatic_dolphin.reloadConfig();
const PlacesPanel = ConfigFile('dolphinrc'); const PlacesPanel = ConfigFile('dolphinrc');
PlacesPanel.group = 'PlacesPanel'; PlacesPanel.group = 'PlacesPanel';
PlacesPanel.writeEntry('IconSize', 16); PlacesPanel.writeEntry('IconSize', 16);
PlacesPanel.reloadConfig(); // PlacesPanel.reloadConfig();
/******************************/ /******************************/
@ -255,7 +255,7 @@ panel_clock.currentConfigGroup = ["Appearance"];
panel_clock.writeConfig("fontSize", "12"); panel_clock.writeConfig("fontSize", "12");
panel_clock.writeConfig("autoFontAndSize", "true"); panel_clock.writeConfig("autoFontAndSize", "true");
panel_clock.writeConfig("showSeconds", "Always"); panel_clock.writeConfig("showSeconds", "Always");
panel_clock.reloadConfig(); // panel_clock.reloadConfig();
/*Notification*/ /*Notification*/
@ -270,7 +270,7 @@ win7showdesktop.writeConfig("edgeColor", "#66888888");
win7showdesktop.writeConfig("hoveredColor", "#66777777"); win7showdesktop.writeConfig("hoveredColor", "#66777777");
win7showdesktop.writeConfig("pressedColor", "#66555555"); win7showdesktop.writeConfig("pressedColor", "#66555555");
win7showdesktop.writeConfig("size", "7"); win7showdesktop.writeConfig("size", "7");
win7showdesktop.reloadConfig(); // win7showdesktop.reloadConfig();
/* accent color config*/ /* accent color config*/
@ -279,14 +279,14 @@ ColorAccetFile.group = "General";
ColorAccetFile.deleteEntry("AccentColor"); ColorAccetFile.deleteEntry("AccentColor");
ColorAccetFile.deleteEntry("LastUsedCustomAccentColor"); ColorAccetFile.deleteEntry("LastUsedCustomAccentColor");
ColorAccetFile.writeEntry("accentColorFromWallpaper", "true"); ColorAccetFile.writeEntry("accentColorFromWallpaper", "true");
ColorAccetFile.reloadConfig(); // ColorAccetFile.reloadConfig();
/* widgetStyle config*/ /* widgetStyle config*/
WidgetStyleFile = ConfigFile("kdeglobals"); WidgetStyleFile = ConfigFile("kdeglobals");
WidgetStyleFile.group = "KDE"; WidgetStyleFile.group = "KDE";
WidgetStyleFile.writeEntry("widgetStyle", "Klassy"); WidgetStyleFile.writeEntry("widgetStyle", "Klassy");
WidgetStyleFile.reloadConfig(); // WidgetStyleFile.reloadConfig();
/* Buttons of aurorae */ /* Buttons of aurorae */
@ -294,7 +294,7 @@ Buttons = ConfigFile("kwinrc");
Buttons.group = "org.kde.kdecoration2"; Buttons.group = "org.kde.kdecoration2";
Buttons.writeEntry("ButtonsOnLeft", ""); Buttons.writeEntry("ButtonsOnLeft", "");
Buttons.writeEntry("ButtonsOnRight", "IAX"); Buttons.writeEntry("ButtonsOnRight", "IAX");
Buttons.reloadConfig(); // Buttons.reloadConfig();
/* Decorator of aurorae */ /* Decorator of aurorae */
@ -302,7 +302,7 @@ Decorator = ConfigFile("kwinrc");
Decorator.group = "org.kde.kdecoration2"; Decorator.group = "org.kde.kdecoration2";
Decorator.writeEntry("library", "org.kde.klassy"); Decorator.writeEntry("library", "org.kde.klassy");
Decorator.writeEntry("theme", "Klassy"); Decorator.writeEntry("theme", "Klassy");
Decorator.reloadConfig(); // Decorator.reloadConfig();
/* Plugins of aurorae */ /* Plugins of aurorae */
@ -328,13 +328,13 @@ Plugins.writeEntry("scaleEnabled", "false");
Plugins.writeEntry("slideEnabled", "false"); Plugins.writeEntry("slideEnabled", "false");
Plugins.writeEntry("squashEnabled", "false", ""); Plugins.writeEntry("squashEnabled", "false", "");
Plugins.writeEntry("translucencyEnabled", "true"); Plugins.writeEntry("translucencyEnabled", "true");
Plugins.reloadConfig(); // Plugins.reloadConfig();
/* Windows of aurorae */ /* Windows of aurorae */
Windows = ConfigFile("kwinrc"); Windows = ConfigFile("kwinrc");
Windows.group = "Windows"; Windows.group = "Windows";
Windows.writeEntry("BorderlessMaximizedWindows", "false"); Windows.writeEntry("BorderlessMaximizedWindows", "false");
Windows.reloadConfig(); // Windows.reloadConfig();
// plasma.loadSerializedLayout(layout); // plasma.loadSerializedLayout(layout);