diff --git a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js index bd16828..f19826b 100644 --- a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js +++ b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js @@ -1,17 +1,22 @@ -let plasma = getApiVersion(1); +// let plasma = getApiVersion(1); let allDesktops = desktops(); for (i=0;i 1.8) { /*App Launcher*/ let baseApps = [ -"melawy-welcome.desktop", + "melawy-welcome.desktop", "systemsettings.desktop", "pamac.desktop", "org.kde.dolphin.desktop", @@ -128,7 +133,7 @@ let baseApps = [ ]; let addApps = [ -["code.desktop", "com.visualstudio.code.desktop"], + ["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"], @@ -175,25 +180,25 @@ start_menu.writeConfig("systemFavorites", ""); start_menu.writeConfig("favorites", `${applications}`); start_menu.writeConfig("appDescription", "hidden"); -start_menu.writeConfig("appListWidth", "400"); +start_menu.writeConfig("appListWidth", 400); start_menu.writeConfig("compactMode", "true"); start_menu.writeConfig("defaultAppListView", "TilesOnly"); start_menu.writeConfig("defaultTileColor", "#e4606060"); start_menu.writeConfig("defaultTileGradient", "true"); -start_menu.writeConfig("favGridCols", "6"); -start_menu.writeConfig("numberRows", "5"); +start_menu.writeConfig("favGridCols", 6); +start_menu.writeConfig("numberRows", 5); start_menu.writeConfig("floating", "true"); start_menu.writeConfig("fullscreen", "true"); start_menu.writeConfig("groupLabelAlignment", "center"); -start_menu.writeConfig("menuItemHeight", "24"); -start_menu.writeConfig("numRecentApps", "10"); -start_menu.writeConfig("popupHeight", "700"); +start_menu.writeConfig("menuItemHeight", 24); +start_menu.writeConfig("numRecentApps", 10); +start_menu.writeConfig("popupHeight", 700); start_menu.writeConfig("searchFieldFollowsTheme", "true"); -start_menu.writeConfig("searchFieldHeight", "36"); +start_menu.writeConfig("searchFieldHeight", 36); start_menu.writeConfig("searchResultsMerged", "false"); -start_menu.writeConfig("sidebarButtonSize", "36"); +start_menu.writeConfig("sidebarButtonSize", 36); start_menu.writeConfig("sidebarFollowsTheme", "true"); -start_menu.writeConfig("sidebarIconSize", "24"); +start_menu.writeConfig("sidebarIconSize", 24); start_menu.writeConfig("tileLabelAlignment", "center"); // 0 = Auto, 1 = Center, 2 = Center Bottom @@ -288,9 +293,9 @@ PlacesPanel.writeEntry('IconSize', 16); /*Clock*/ panel_clock = panel.addWidget("org.kde.plasma.digitalclock"); panel_clock.currentConfigGroup = ["Appearance"]; -panel_clock.writeConfig("fontSize", "12"); +panel_clock.writeConfig("fontSize", 12); panel_clock.writeConfig("autoFontAndSize", "true"); -panel_clock.writeConfig("showSeconds", "Always"); +panel_clock.writeConfig("showSeconds", 2); /*Notification*/ @@ -304,7 +309,7 @@ win7showdesktop.currentConfigGroup = ["General"]; win7showdesktop.writeConfig("edgeColor", "#66888888"); win7showdesktop.writeConfig("hoveredColor", "#66777777"); win7showdesktop.writeConfig("pressedColor", "#66555555"); -win7showdesktop.writeConfig("size", "7"); +win7showdesktop.writeConfig("size", 7); /* accent color config*/ @@ -392,14 +397,14 @@ Plugins.writeEntry("translucencyEnabled", "true"); /* Effect-overview */ Overview = ConfigFile("kwinrc"); Overview.group = "Effect-overview"; -Overview.writeEntry("BorderActivate", "9"); +Overview.writeEntry("BorderActivate", 9); /* Effect-translucency */ Translucency = ConfigFile("kwinrc"); Translucency.group = "Effect-translucency"; -Translucency.writeEntry("Inactive", "95"); -Translucency.writeEntry("MoveResize", "85"); +Translucency.writeEntry("Inactive", 95); +Translucency.writeEntry("MoveResize", 85); /* PrimaryOutline */