mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-06 05:42:07 -04:00
i18n: update settings search index
This commit is contained in:
@@ -81,6 +81,8 @@ CATEGORY_KEYWORDS = {
|
||||
"Power & Sleep": ["shutdown", "suspend", "energy"],
|
||||
"Displays": ["monitor", "screen", "resolution"],
|
||||
"Desktop Widgets": ["conky", "desktop clock"],
|
||||
"Audio": ["sound", "volume", "speaker", "microphone", "headphones", "pipewire"],
|
||||
"Window Rules": ["window", "rules", "matching", "floating", "fullscreen", "opacity"],
|
||||
}
|
||||
|
||||
TAB_INDEX_MAP = {
|
||||
@@ -111,6 +113,8 @@ TAB_INDEX_MAP = {
|
||||
"GammaControlTab.qml": 25,
|
||||
"DisplayWidgetsTab.qml": 26,
|
||||
"DesktopWidgetsTab.qml": 27,
|
||||
"WindowRulesTab.qml": 28,
|
||||
"AudioTab.qml": 29,
|
||||
}
|
||||
|
||||
TAB_CATEGORY_MAP = {
|
||||
@@ -141,6 +145,8 @@ TAB_CATEGORY_MAP = {
|
||||
25: "Displays",
|
||||
26: "Displays",
|
||||
27: "Desktop Widgets",
|
||||
28: "Window Rules",
|
||||
29: "Audio",
|
||||
}
|
||||
|
||||
SEARCHABLE_COMPONENTS = [
|
||||
@@ -387,6 +393,7 @@ def parse_tabs_from_sidebar(sidebar_file):
|
||||
("dmsOnly", "dmsConnected"),
|
||||
("hyprlandNiriOnly", "isHyprlandOrNiri"),
|
||||
("clipboardOnly", "dmsConnected"),
|
||||
("niriOnly", "isNiri"),
|
||||
]:
|
||||
if f'"{qml_cond}": true' in snippet:
|
||||
cond = key
|
||||
|
||||
@@ -811,6 +811,27 @@
|
||||
],
|
||||
"icon": "visibility_off"
|
||||
},
|
||||
{
|
||||
"section": "workspaceDragReorder",
|
||||
"label": "Drag to Reorder",
|
||||
"tabIndex": 4,
|
||||
"category": "Workspaces",
|
||||
"keywords": [
|
||||
"desktop",
|
||||
"drag",
|
||||
"indicators",
|
||||
"move",
|
||||
"reorder",
|
||||
"sort",
|
||||
"spaces",
|
||||
"virtual",
|
||||
"virtual desktops",
|
||||
"workspace",
|
||||
"workspaces"
|
||||
],
|
||||
"description": "Drag workspace indicators to reorder them",
|
||||
"conditionKey": "isNiri"
|
||||
},
|
||||
{
|
||||
"section": "workspaceFocusedBorderEnabled",
|
||||
"label": "Focused Border",
|
||||
@@ -1630,15 +1651,19 @@
|
||||
},
|
||||
{
|
||||
"section": "_tab_8",
|
||||
"label": "System",
|
||||
"label": "Printers",
|
||||
"tabIndex": 8,
|
||||
"category": "System",
|
||||
"keywords": [
|
||||
"cups",
|
||||
"linux",
|
||||
"os",
|
||||
"print",
|
||||
"printers",
|
||||
"printing",
|
||||
"system"
|
||||
],
|
||||
"icon": "computer",
|
||||
"icon": "print",
|
||||
"conditionKey": "cupsAvailable"
|
||||
},
|
||||
{
|
||||
@@ -2233,6 +2258,30 @@
|
||||
],
|
||||
"description": "Width of window border (borderpx)"
|
||||
},
|
||||
{
|
||||
"section": "buttonColorMode",
|
||||
"label": "Button Color",
|
||||
"tabIndex": 10,
|
||||
"category": "Theme & Colors",
|
||||
"keywords": [
|
||||
"accent",
|
||||
"action",
|
||||
"appearance",
|
||||
"button",
|
||||
"buttons",
|
||||
"color",
|
||||
"colors",
|
||||
"colour",
|
||||
"hue",
|
||||
"look",
|
||||
"primary",
|
||||
"scheme",
|
||||
"style",
|
||||
"theme",
|
||||
"tint"
|
||||
],
|
||||
"description": "Color for primary action buttons"
|
||||
},
|
||||
{
|
||||
"section": "colorMode",
|
||||
"label": "Color Mode",
|
||||
@@ -5688,12 +5737,71 @@
|
||||
"section": "_tab_28",
|
||||
"label": "Window Rules",
|
||||
"tabIndex": 28,
|
||||
"category": "Settings",
|
||||
"category": "Window Rules",
|
||||
"keywords": [
|
||||
"floating",
|
||||
"fullscreen",
|
||||
"matching",
|
||||
"opacity",
|
||||
"rules",
|
||||
"settings",
|
||||
"window"
|
||||
],
|
||||
"icon": "select_window"
|
||||
"icon": "select_window",
|
||||
"conditionKey": "isNiri"
|
||||
},
|
||||
{
|
||||
"section": "audioInputDevices",
|
||||
"label": "Input Devices",
|
||||
"tabIndex": 29,
|
||||
"category": "Audio",
|
||||
"keywords": [
|
||||
"audio",
|
||||
"device",
|
||||
"devices",
|
||||
"headphones",
|
||||
"input",
|
||||
"microphone",
|
||||
"pipewire",
|
||||
"sound",
|
||||
"speaker",
|
||||
"volume"
|
||||
],
|
||||
"icon": "mic"
|
||||
},
|
||||
{
|
||||
"section": "audioOutputDevices",
|
||||
"label": "Output Devices",
|
||||
"tabIndex": 29,
|
||||
"category": "Audio",
|
||||
"keywords": [
|
||||
"audio",
|
||||
"device",
|
||||
"devices",
|
||||
"headphones",
|
||||
"microphone",
|
||||
"output",
|
||||
"pipewire",
|
||||
"sound",
|
||||
"speaker",
|
||||
"volume"
|
||||
],
|
||||
"icon": "volume_up"
|
||||
},
|
||||
{
|
||||
"section": "_tab_29",
|
||||
"label": "System",
|
||||
"tabIndex": 29,
|
||||
"category": "Audio",
|
||||
"keywords": [
|
||||
"audio",
|
||||
"headphones",
|
||||
"microphone",
|
||||
"pipewire",
|
||||
"sound",
|
||||
"speaker",
|
||||
"system",
|
||||
"volume"
|
||||
],
|
||||
"icon": "computer"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user