Update
This commit is contained in:
		
							parent
							
								
									f4534730b5
								
							
						
					
					
						commit
						c993d9d9c2
					
				|  | @ -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();
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -87,23 +87,23 @@ panel.hiding = "none"; | ||||||
| /*App Launcher*/ | /*App Launcher*/ | ||||||
| let baseApps = [ | let baseApps = [ | ||||||
|     "melawy-welcome.desktop", |     "melawy-welcome.desktop", | ||||||
|     "systemsettings.desktop", | "systemsettings.desktop", | ||||||
|     "pamac.desktop", | "pamac.desktop", | ||||||
|     "org.kde.dolphin.desktop", | "org.kde.dolphin.desktop", | ||||||
|     "org.kde.konsole.desktop", | "org.kde.konsole.desktop", | ||||||
|     "org.kde.kcalc.desktop", | "org.kde.kcalc.desktop", | ||||||
|     "org.kde.kate.desktop" | "org.kde.kate.desktop" | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
| let addApps = [ | let addApps = [ | ||||||
|     ["code.desktop", "com.visualstudio.code.desktop"], |     ["code.desktop", "com.visualstudio.code.desktop"], | ||||||
|     ["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"], | ["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"], | ||||||
|     ["discord.desktop", "com.discordapp.Discord.desktop"], | ["discord.desktop", "com.discordapp.Discord.desktop"], | ||||||
|     ["Zoom.desktop", "us.zoom.Zoom.desktop"], | ["Zoom.desktop", "us.zoom.Zoom.desktop"], | ||||||
|     ["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"], | ["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"], | ||||||
|     ["firefox.desktop", "org.mozilla.firefox.desktop"], | ["firefox.desktop", "org.mozilla.firefox.desktop"], | ||||||
|     ["brave-browser.desktop", "com.brave.Browser.desktop"], | ["brave-browser.desktop", "com.brave.Browser.desktop"], | ||||||
|     ["google-chrome.desktop", "com.google.Chrome.desktop"] | ["google-chrome.desktop", "com.google.Chrome.desktop"] | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -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*/ | ||||||
|  | @ -179,36 +179,36 @@ panel.addWidget("org.kde.plasma.panelspacer"); | ||||||
|  * of common distributions. */ |  * of common distributions. */ | ||||||
| 
 | 
 | ||||||
| var langIds = ["as",    // Assamese
 | var langIds = ["as",    // Assamese
 | ||||||
|                "bn",    // Bengali
 | "bn",    // Bengali
 | ||||||
|                "bo",    // Tibetan
 | "bo",    // Tibetan
 | ||||||
|                "brx",   // Bodo
 | "brx",   // Bodo
 | ||||||
|                "doi",   // Dogri
 | "doi",   // Dogri
 | ||||||
|                "gu",    // Gujarati
 | "gu",    // Gujarati
 | ||||||
|                "hi",    // Hindi
 | "hi",    // Hindi
 | ||||||
|                "ja",    // Japanese
 | "ja",    // Japanese
 | ||||||
|                "kn",    // Kannada
 | "kn",    // Kannada
 | ||||||
|                "ko",    // Korean
 | "ko",    // Korean
 | ||||||
|                "kok",   // Konkani
 | "kok",   // Konkani
 | ||||||
|                "ks",    // Kashmiri
 | "ks",    // Kashmiri
 | ||||||
|                "lep",   // Lepcha
 | "lep",   // Lepcha
 | ||||||
|                "mai",   // Maithili
 | "mai",   // Maithili
 | ||||||
|                "ml",    // Malayalam
 | "ml",    // Malayalam
 | ||||||
|                "mni",   // Manipuri
 | "mni",   // Manipuri
 | ||||||
|                "mr",    // Marathi
 | "mr",    // Marathi
 | ||||||
|                "ne",    // Nepali
 | "ne",    // Nepali
 | ||||||
|                "or",    // Odia
 | "or",    // Odia
 | ||||||
|                "pa",    // Punjabi
 | "pa",    // Punjabi
 | ||||||
|                "sa",    // Sanskrit
 | "sa",    // Sanskrit
 | ||||||
|                "sat",   // Santali
 | "sat",   // Santali
 | ||||||
|                "sd",    // Sindhi
 | "sd",    // Sindhi
 | ||||||
|                "si",    // Sinhala
 | "si",    // Sinhala
 | ||||||
|                "ta",    // Tamil
 | "ta",    // Tamil
 | ||||||
|                "te",    // Telugu
 | "te",    // Telugu
 | ||||||
|                "th",    // Thai
 | "th",    // Thai
 | ||||||
|                "ur",    // Urdu
 | "ur",    // Urdu
 | ||||||
|                "vi",    // Vietnamese
 | "vi",    // Vietnamese
 | ||||||
|                "zh_CN", // Simplified Chinese
 | "zh_CN", // Simplified Chinese
 | ||||||
|                "zh_TW"]; // Traditional Chinese
 | "zh_TW"]; // Traditional Chinese
 | ||||||
| 
 | 
 | ||||||
| if (langIds.indexOf(languageId) != -1) { | if (langIds.indexOf(languageId) != -1) { | ||||||
|     panel.addWidget("org.kde.plasma.kimpanel"); |     panel.addWidget("org.kde.plasma.kimpanel"); | ||||||
|  | @ -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);
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue