launcher: adjust defaults & ignore clipboard density

This commit is contained in:
Lysec
2026-02-09 23:11:26 +01:00
parent 1d26ed8014
commit a8822eaf0a
4 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -209,7 +209,8 @@
"enableWindowsSearch": true,
"ignoreMouseInput": false,
"screenshotAnnotationTool": "",
"overviewLayer": false
"overviewLayer": false,
"density": "default"
},
"controlCenter": {
"position": "close_to_bar_button",
+1 -1
View File
@@ -416,7 +416,7 @@ Singleton {
property bool ignoreMouseInput: false
property string screenshotAnnotationTool: ""
property bool overviewLayer: false
property string density: "compact" // "compact", "default", "comfortable"
property string density: "default" // "compact", "default", "comfortable"
}
// control center
+1 -1
View File
@@ -58,7 +58,7 @@ Rectangle {
readonly property var defaultProvider: appsProvider
readonly property var currentProvider: activeProvider || defaultProvider
readonly property string launcherDensity: Settings.data.appLauncher.density || "compact"
readonly property string launcherDensity: (currentProvider && currentProvider.ignoreDensity) ? "default" : (Settings.data.appLauncher.density || "default")
readonly property int effectiveIconSize: launcherDensity === "comfortable" ? 48 : (launcherDensity === "default" ? 32 : 24)
readonly property int badgeSize: Math.round(effectiveIconSize * Style.uiScaleRatio)
readonly property int entryHeight: Math.round(badgeSize + (launcherDensity === "compact" ? (Style.marginL + Style.marginXXS) : (Style.marginXL + Style.marginS)))
@@ -12,6 +12,7 @@ Item {
property string iconMode: Settings.data.appLauncher.iconMode
property string supportedLayouts: "list" // List view for clipboard content
property bool wrapNavigation: false // Don't wrap at end of list
property bool ignoreDensity: true // Clipboard density should remain consistent
// Provider capabilities
property bool handleSearch: false // Don't handle regular search