mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
launcher: option to enable/disable the default search of "windows"
This commit is contained in:
@@ -1065,6 +1065,8 @@
|
||||
"settings-desc": "Customize the launcher's behavior and appearance.",
|
||||
"settings-enable-settings-search-description": "Show settings results when searching in the launcher.",
|
||||
"settings-enable-settings-search-label": "Enable settings search",
|
||||
"settings-enable-windows-search-description": "Show open windows when searching in the launcher.",
|
||||
"settings-enable-windows-search-label": "Enable windows search",
|
||||
"settings-grid-view-description": "Display items in a grid layout instead of a list.",
|
||||
"settings-icon-mode-description": "Use native system icons instead of Tabler icons.",
|
||||
"settings-icon-mode-label": "Use native icons",
|
||||
|
||||
@@ -190,6 +190,7 @@
|
||||
"iconMode": "tabler",
|
||||
"showIconBackground": false,
|
||||
"enableSettingsSearch": true,
|
||||
"enableWindowsSearch": true,
|
||||
"ignoreMouseInput": false,
|
||||
"screenshotAnnotationTool": ""
|
||||
},
|
||||
|
||||
@@ -830,6 +830,15 @@
|
||||
"subTab": 0,
|
||||
"subTabLabel": "common.general"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.launcher.settings-enable-windows-search-label",
|
||||
"descriptionKey": "panels.launcher.settings-enable-windows-search-description",
|
||||
"widget": "NToggle",
|
||||
"tab": 8,
|
||||
"tabLabel": "panels.launcher.title",
|
||||
"subTab": 0,
|
||||
"subTabLabel": "common.general"
|
||||
},
|
||||
{
|
||||
"labelKey": "panels.launcher.settings-ignore-mouse-input-label",
|
||||
"descriptionKey": "panels.launcher.settings-ignore-mouse-input-description",
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
"usePrimaryColor": false,
|
||||
"useMonospaceFont": true,
|
||||
"showCpuUsage": true,
|
||||
"showCpuFreq": false,
|
||||
"showCpuTemp": true,
|
||||
"showGpuTemp": false,
|
||||
"showLoadAverage": false,
|
||||
@@ -137,6 +138,7 @@
|
||||
"showSwapUsage": false,
|
||||
"showNetworkStats": false,
|
||||
"showDiskUsage": false,
|
||||
"showDiskAsFree": false,
|
||||
"diskPath": "/"
|
||||
},
|
||||
"Taskbar": {
|
||||
|
||||
@@ -395,6 +395,7 @@ Singleton {
|
||||
property string iconMode: "tabler"
|
||||
property bool showIconBackground: false
|
||||
property bool enableSettingsSearch: true
|
||||
property bool enableWindowsSearch: true
|
||||
property bool ignoreMouseInput: false
|
||||
property string screenshotAnnotationTool: ""
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ Item {
|
||||
|
||||
property string name: I18n.tr("launcher.providers.windows")
|
||||
property var launcher: null
|
||||
property bool handleSearch: true
|
||||
property bool handleSearch: Settings.data.appLauncher.enableWindowsSearch
|
||||
property string supportedLayouts: "list"
|
||||
|
||||
function init() {
|
||||
|
||||
@@ -107,6 +107,14 @@ ColumnLayout {
|
||||
defaultValue: Settings.getDefaultValue("appLauncher.enableSettingsSearch")
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.launcher.settings-enable-windows-search-label")
|
||||
description: I18n.tr("panels.launcher.settings-enable-windows-search-description")
|
||||
checked: Settings.data.appLauncher.enableWindowsSearch
|
||||
onToggled: checked => Settings.data.appLauncher.enableWindowsSearch = checked
|
||||
defaultValue: Settings.getDefaultValue("appLauncher.enableWindowsSearch")
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.launcher.settings-ignore-mouse-input-label")
|
||||
description: I18n.tr("panels.launcher.settings-ignore-mouse-input-description")
|
||||
|
||||
Reference in New Issue
Block a user