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 017639d..bd16828 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 @@ -180,7 +180,8 @@ start_menu.writeConfig("compactMode", "true"); start_menu.writeConfig("defaultAppListView", "TilesOnly"); start_menu.writeConfig("defaultTileColor", "#e4606060"); start_menu.writeConfig("defaultTileGradient", "true"); -start_menu.writeConfig("favGridCols", "7"); +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"); @@ -195,6 +196,13 @@ start_menu.writeConfig("sidebarFollowsTheme", "true"); start_menu.writeConfig("sidebarIconSize", "24"); start_menu.writeConfig("tileLabelAlignment", "center"); +// 0 = Auto, 1 = Center, 2 = Center Bottom +if (aspect_ratio > 1.8) { + start_menu.writeConfig("displayPosition", "2"); +} else { + start_menu.writeConfig("displayPosition", "0"); +} + /*Desktops button*/ //panel.addWidget("org.kde.plasma.pager");