This commit is contained in:
Valeria Fadeeva 2025-01-04 01:42:57 +05:00
parent 3c2f109a7f
commit 096c971547
1 changed files with 9 additions and 1 deletions

View File

@ -180,7 +180,8 @@ start_menu.writeConfig("compactMode", "true");
start_menu.writeConfig("defaultAppListView", "TilesOnly"); start_menu.writeConfig("defaultAppListView", "TilesOnly");
start_menu.writeConfig("defaultTileColor", "#e4606060"); start_menu.writeConfig("defaultTileColor", "#e4606060");
start_menu.writeConfig("defaultTileGradient", "true"); 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("floating", "true");
start_menu.writeConfig("fullscreen", "true"); start_menu.writeConfig("fullscreen", "true");
start_menu.writeConfig("groupLabelAlignment", "center"); start_menu.writeConfig("groupLabelAlignment", "center");
@ -195,6 +196,13 @@ 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");
// 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*/ /*Desktops button*/
//panel.addWidget("org.kde.plasma.pager"); //panel.addWidget("org.kde.plasma.pager");