mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
launcher: adjust defaults & ignore clipboard density
This commit is contained in:
@@ -209,7 +209,8 @@
|
||||
"enableWindowsSearch": true,
|
||||
"ignoreMouseInput": false,
|
||||
"screenshotAnnotationTool": "",
|
||||
"overviewLayer": false
|
||||
"overviewLayer": false,
|
||||
"density": "default"
|
||||
},
|
||||
"controlCenter": {
|
||||
"position": "close_to_bar_button",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user