Update
This commit is contained in:
		
							parent
							
								
									1f1f437c81
								
							
						
					
					
						commit
						9a198340fc
					
				|  | @ -124,24 +124,24 @@ if (panel.formFactor === "horizontal" && geo.width > 1366 && aspect_ratio > 1.8) | ||||||
| /*App Launcher*/ | /*App Launcher*/ | ||||||
| let baseApps = [ | let baseApps = [ | ||||||
|     "melawy-linux-welcome.desktop", |     "melawy-linux-welcome.desktop", | ||||||
|     "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"] | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -213,7 +213,17 @@ if (aspect_ratio > 1.8) { | ||||||
| /*Desktops button*/ | /*Desktops button*/ | ||||||
| //panel.addWidget("org.kde.plasma.pager");
 | //panel.addWidget("org.kde.plasma.pager");
 | ||||||
| panel.addWidget("com.himdek.kde.plasma.overview"); | panel.addWidget("com.himdek.kde.plasma.overview"); | ||||||
| panel.addWidget("org.kde.plasma.icontasks"); | 
 | ||||||
|  | icontasks = panel.addWidget("org.kde.plasma.icontasks"); | ||||||
|  | icontasks.currentConfigGroup = []; | ||||||
|  | icontasks.currentConfigGroup = ["General"]; | ||||||
|  | icontasks.writeConfig("indicateAudioStreams", "true"); | ||||||
|  | icontasks.writeConfig("iconSpacing", "0"); | ||||||
|  | // // icontasks.writeConfig("launchers", "");
 | ||||||
|  | // icontasks.writeConfig("launchers", `${applications}`);
 | ||||||
|  | icontasks.writeConfig("maxStripes", "1"); | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| panel.addWidget("org.kde.plasma.panelspacer"); | panel.addWidget("org.kde.plasma.panelspacer"); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -331,14 +341,16 @@ WidgetStyleFile.writeEntry("widgetStyle", "Klassy"); | ||||||
| Buttons = ConfigFile("kwinrc"); | Buttons = ConfigFile("kwinrc"); | ||||||
| Buttons.group = "org.kde.kdecoration2"; | Buttons.group = "org.kde.kdecoration2"; | ||||||
| Buttons.writeEntry("ButtonsOnLeft", ""); | Buttons.writeEntry("ButtonsOnLeft", ""); | ||||||
|  | Buttons.deleteEntry("ButtonsOnLeft"); | ||||||
| Buttons.writeEntry("ButtonsOnRight", "IAX"); | Buttons.writeEntry("ButtonsOnRight", "IAX"); | ||||||
|  | Buttons.deleteEntry("ButtonsOnRight"); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /* Decorator of aurorae */ | /* Decorator of aurorae */ | ||||||
| Decorator = ConfigFile("kwinrc"); | Decorator = ConfigFile("kwinrc"); | ||||||
| Decorator.group = "org.kde.kdecoration2"; | Decorator.group = "org.kde.kdecoration2"; | ||||||
| Decorator.writeEntry("BorderSize", "Normal"); | Decorator.writeEntry("BorderSize", "Normal"); | ||||||
| // Decorator.writeEntry("BorderSizeAuto", "false");
 | Decorator.writeEntry("BorderSizeAuto", "false"); | ||||||
| Decorator.deleteEntry("BorderSizeAuto"); | Decorator.deleteEntry("BorderSizeAuto"); | ||||||
| Decorator.writeEntry("library", "org.kde.klassy"); | Decorator.writeEntry("library", "org.kde.klassy"); | ||||||
| Decorator.writeEntry("theme", "Klassy"); | Decorator.writeEntry("theme", "Klassy"); | ||||||
|  | @ -352,6 +364,7 @@ Plugins.writeEntry("contrastEnabled", "true"); | ||||||
| Plugins.writeEntry("cubeEnabled", "true"); | Plugins.writeEntry("cubeEnabled", "true"); | ||||||
| Plugins.writeEntry("desktopchangeosdEnabled", "true"); | Plugins.writeEntry("desktopchangeosdEnabled", "true"); | ||||||
| Plugins.writeEntry("diminactiveEnabled", "false"); | Plugins.writeEntry("diminactiveEnabled", "false"); | ||||||
|  | Plugins.deleteEntry("diminactiveEnabled"); | ||||||
| Plugins.writeEntry("dimscreenEnabled", "true"); | Plugins.writeEntry("dimscreenEnabled", "true"); | ||||||
| Plugins.writeEntry("fadedesktopEnabled", "true"); | Plugins.writeEntry("fadedesktopEnabled", "true"); | ||||||
| 
 | 
 | ||||||
|  | @ -361,27 +374,36 @@ let kinetic = true; | ||||||
| if (kinetic) { | if (kinetic) { | ||||||
|     Plugins.writeEntry("kinetic_maximizeEnabled", "true"); |     Plugins.writeEntry("kinetic_maximizeEnabled", "true"); | ||||||
|     Plugins.writeEntry("maximizeEnabled", "false"); |     Plugins.writeEntry("maximizeEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("maximizeEnabled"); | ||||||
| 
 | 
 | ||||||
|     Plugins.writeEntry("kinetic_fadingpopupsEnabled", "true"); |     Plugins.writeEntry("kinetic_fadingpopupsEnabled", "true"); | ||||||
|     Plugins.writeEntry("fadingpopupsEnabled", "false"); |     Plugins.writeEntry("fadingpopupsEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("fadingpopupsEnabled"); | ||||||
| 
 | 
 | ||||||
|     Plugins.writeEntry("kinetic_scaleEnabled", "true"); |     Plugins.writeEntry("kinetic_scaleEnabled", "true"); | ||||||
|     Plugins.writeEntry("scaleEnabled", "false"); |     Plugins.writeEntry("scaleEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("scaleEnabled"); | ||||||
| 
 | 
 | ||||||
|     Plugins.writeEntry("kinetic_squashEnabled", "true"); |     Plugins.writeEntry("kinetic_squashEnabled", "true"); | ||||||
|     Plugins.writeEntry("squashEnabled", "false"); |     Plugins.writeEntry("squashEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("squashEnabled"); | ||||||
| } else { | } else { | ||||||
|     Plugins.writeEntry("kinetic_maximizeEnabled", "false"); |  | ||||||
|     Plugins.writeEntry("maximizeEnabled", "true"); |     Plugins.writeEntry("maximizeEnabled", "true"); | ||||||
|  |     Plugins.writeEntry("kinetic_maximizeEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("kinetic_maximizeEnabled"); | ||||||
| 
 | 
 | ||||||
|     Plugins.writeEntry("kinetic_fadingpopupsEnabled", "false"); |  | ||||||
|     Plugins.writeEntry("fadingpopupsEnabled", "true"); |     Plugins.writeEntry("fadingpopupsEnabled", "true"); | ||||||
|  |     Plugins.writeEntry("kinetic_fadingpopupsEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("kinetic_fadingpopupsEnabled"); | ||||||
| 
 | 
 | ||||||
|     Plugins.writeEntry("kinetic_scaleEnabled", "false"); |  | ||||||
|     Plugins.writeEntry("scaleEnabled", "true"); |     Plugins.writeEntry("scaleEnabled", "true"); | ||||||
|  |     Plugins.writeEntry("kinetic_scaleEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("kinetic_scaleEnabled"); | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
|     Plugins.writeEntry("kinetic_squashEnabled", "false"); |  | ||||||
|     Plugins.writeEntry("squashEnabled", "true"); |     Plugins.writeEntry("squashEnabled", "true"); | ||||||
|  |     Plugins.writeEntry("kinetic_squashEnabled", "false"); | ||||||
|  |     Plugins.deleteEntry("kinetic_squashEnabled"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -390,9 +412,12 @@ Plugins.writeEntry("kwin4_effect_fadedesktopEnabled", "true"); | ||||||
| Plugins.writeEntry("kwin4_effect_shapecornersEnabled", "true"); | Plugins.writeEntry("kwin4_effect_shapecornersEnabled", "true"); | ||||||
| Plugins.writeEntry("kwin4_effect_translucencyEnabled", "true"); | Plugins.writeEntry("kwin4_effect_translucencyEnabled", "true"); | ||||||
| Plugins.writeEntry("kwin_effect_lightlyshadersEnabled", "false"); | Plugins.writeEntry("kwin_effect_lightlyshadersEnabled", "false"); | ||||||
|  | Plugins.deleteEntry("kwin_effect_lightlyshadersEnabled"); | ||||||
| 
 | 
 | ||||||
| Plugins.writeEntry("presentwindowsEnabled", "false"); | Plugins.writeEntry("presentwindowsEnabled", "false"); | ||||||
|  | Plugins.deleteEntry("presentwindowsEnabled"); | ||||||
| Plugins.writeEntry("slideEnabled", "false"); | Plugins.writeEntry("slideEnabled", "false"); | ||||||
|  | Plugins.deleteEntry("slideEnabled"); | ||||||
| Plugins.writeEntry("translucencyEnabled", "true"); | Plugins.writeEntry("translucencyEnabled", "true"); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -421,6 +446,8 @@ PrimaryOutline.writeEntry("OutlineColor", "80,80,80"); | ||||||
| Windows = ConfigFile("kwinrc"); | Windows = ConfigFile("kwinrc"); | ||||||
| Windows.group = "Windows"; | Windows.group = "Windows"; | ||||||
| Windows.writeEntry("BorderlessMaximizedWindows", "false"); | Windows.writeEntry("BorderlessMaximizedWindows", "false"); | ||||||
|  | Windows.deleteEntry("BorderlessMaximizedWindows"); | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| // plasma.loadSerializedLayout(layout);
 | // plasma.loadSerializedLayout(layout);
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue