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*/
|
||||
let baseApps = [
|
||||
"melawy-linux-welcome.desktop",
|
||||
"melawy-welcome.desktop",
|
||||
"systemsettings.desktop",
|
||||
"pamac.desktop",
|
||||
"org.kde.dolphin.desktop",
|
||||
"org.kde.konsole.desktop",
|
||||
"org.kde.kcalc.desktop",
|
||||
"org.kde.kate.desktop"
|
||||
"melawy-welcome.desktop",
|
||||
"systemsettings.desktop",
|
||||
"pamac.desktop",
|
||||
"org.kde.dolphin.desktop",
|
||||
"org.kde.konsole.desktop",
|
||||
"org.kde.kcalc.desktop",
|
||||
"org.kde.kate.desktop"
|
||||
];
|
||||
|
||||
let addApps = [
|
||||
["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"],
|
||||
["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"],
|
||||
["firefox.desktop", "org.mozilla.firefox.desktop"],
|
||||
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||
["org.telegram.desktop.desktop", "org.telegram.desktop.desktop"],
|
||||
["discord.desktop", "com.discordapp.Discord.desktop"],
|
||||
["Zoom.desktop", "us.zoom.Zoom.desktop"],
|
||||
["firefox-developer-edition.desktop", "firefox-developer-edition.desktop"],
|
||||
["firefox.desktop", "org.mozilla.firefox.desktop"],
|
||||
["brave-browser.desktop", "com.brave.Browser.desktop"],
|
||||
["google-chrome.desktop", "com.google.Chrome.desktop"]
|
||||
];
|
||||
|
||||
|
||||
|
@ -213,7 +213,17 @@ if (aspect_ratio > 1.8) {
|
|||
/*Desktops button*/
|
||||
//panel.addWidget("org.kde.plasma.pager");
|
||||
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");
|
||||
|
||||
|
||||
|
@ -331,14 +341,16 @@ WidgetStyleFile.writeEntry("widgetStyle", "Klassy");
|
|||
Buttons = ConfigFile("kwinrc");
|
||||
Buttons.group = "org.kde.kdecoration2";
|
||||
Buttons.writeEntry("ButtonsOnLeft", "");
|
||||
Buttons.deleteEntry("ButtonsOnLeft");
|
||||
Buttons.writeEntry("ButtonsOnRight", "IAX");
|
||||
Buttons.deleteEntry("ButtonsOnRight");
|
||||
|
||||
|
||||
/* Decorator of aurorae */
|
||||
Decorator = ConfigFile("kwinrc");
|
||||
Decorator.group = "org.kde.kdecoration2";
|
||||
Decorator.writeEntry("BorderSize", "Normal");
|
||||
// Decorator.writeEntry("BorderSizeAuto", "false");
|
||||
Decorator.writeEntry("BorderSizeAuto", "false");
|
||||
Decorator.deleteEntry("BorderSizeAuto");
|
||||
Decorator.writeEntry("library", "org.kde.klassy");
|
||||
Decorator.writeEntry("theme", "Klassy");
|
||||
|
@ -352,6 +364,7 @@ Plugins.writeEntry("contrastEnabled", "true");
|
|||
Plugins.writeEntry("cubeEnabled", "true");
|
||||
Plugins.writeEntry("desktopchangeosdEnabled", "true");
|
||||
Plugins.writeEntry("diminactiveEnabled", "false");
|
||||
Plugins.deleteEntry("diminactiveEnabled");
|
||||
Plugins.writeEntry("dimscreenEnabled", "true");
|
||||
Plugins.writeEntry("fadedesktopEnabled", "true");
|
||||
|
||||
|
@ -361,27 +374,36 @@ let kinetic = true;
|
|||
if (kinetic) {
|
||||
Plugins.writeEntry("kinetic_maximizeEnabled", "true");
|
||||
Plugins.writeEntry("maximizeEnabled", "false");
|
||||
Plugins.deleteEntry("maximizeEnabled");
|
||||
|
||||
Plugins.writeEntry("kinetic_fadingpopupsEnabled", "true");
|
||||
Plugins.writeEntry("fadingpopupsEnabled", "false");
|
||||
Plugins.deleteEntry("fadingpopupsEnabled");
|
||||
|
||||
Plugins.writeEntry("kinetic_scaleEnabled", "true");
|
||||
Plugins.writeEntry("scaleEnabled", "false");
|
||||
Plugins.deleteEntry("scaleEnabled");
|
||||
|
||||
Plugins.writeEntry("kinetic_squashEnabled", "true");
|
||||
Plugins.writeEntry("squashEnabled", "false");
|
||||
Plugins.deleteEntry("squashEnabled");
|
||||
} else {
|
||||
Plugins.writeEntry("kinetic_maximizeEnabled", "false");
|
||||
Plugins.writeEntry("maximizeEnabled", "true");
|
||||
Plugins.writeEntry("kinetic_maximizeEnabled", "false");
|
||||
Plugins.deleteEntry("kinetic_maximizeEnabled");
|
||||
|
||||
Plugins.writeEntry("kinetic_fadingpopupsEnabled", "false");
|
||||
Plugins.writeEntry("fadingpopupsEnabled", "true");
|
||||
Plugins.writeEntry("kinetic_fadingpopupsEnabled", "false");
|
||||
Plugins.deleteEntry("kinetic_fadingpopupsEnabled");
|
||||
|
||||
Plugins.writeEntry("kinetic_scaleEnabled", "false");
|
||||
Plugins.writeEntry("scaleEnabled", "true");
|
||||
Plugins.writeEntry("kinetic_scaleEnabled", "false");
|
||||
Plugins.deleteEntry("kinetic_scaleEnabled");
|
||||
|
||||
|
||||
Plugins.writeEntry("kinetic_squashEnabled", "false");
|
||||
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_translucencyEnabled", "true");
|
||||
Plugins.writeEntry("kwin_effect_lightlyshadersEnabled", "false");
|
||||
Plugins.deleteEntry("kwin_effect_lightlyshadersEnabled");
|
||||
|
||||
Plugins.writeEntry("presentwindowsEnabled", "false");
|
||||
Plugins.deleteEntry("presentwindowsEnabled");
|
||||
Plugins.writeEntry("slideEnabled", "false");
|
||||
Plugins.deleteEntry("slideEnabled");
|
||||
Plugins.writeEntry("translucencyEnabled", "true");
|
||||
|
||||
|
||||
|
@ -421,6 +446,8 @@ PrimaryOutline.writeEntry("OutlineColor", "80,80,80");
|
|||
Windows = ConfigFile("kwinrc");
|
||||
Windows.group = "Windows";
|
||||
Windows.writeEntry("BorderlessMaximizedWindows", "false");
|
||||
Windows.deleteEntry("BorderlessMaximizedWindows");
|
||||
|
||||
|
||||
|
||||
// plasma.loadSerializedLayout(layout);
|
||||
|
|
Loading…
Reference in New Issue