1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

feat: Alias for Audio Devices

- New custom audio UI to set custom names for input/output devices
This commit is contained in:
purian23
2026-02-04 07:09:55 -05:00
parent 6e3b3ce888
commit 961680af8c
5 changed files with 983 additions and 8 deletions

View File

@@ -458,5 +458,20 @@ FocusScope {
Qt.callLater(() => item.forceActiveFocus());
}
}
Loader {
id: audioLoader
anchors.fill: parent
active: root.currentIndex === 29
visible: active
focus: active
sourceComponent: AudioTab {}
onActiveChanged: {
if (active && item)
Qt.callLater(() => item.forceActiveFocus());
}
}
}
}

View File

@@ -239,12 +239,12 @@ Rectangle {
"icon": "computer",
"collapsedByDefault": true,
"children": [
{
"id": "printers",
"text": I18n.tr("Printers"),
"icon": "print",
"tabIndex": 8,
"cupsOnly": true
"id": "audio",
"text": I18n.tr("Audio"),
"icon": "headphones",
"tabIndex": 29
},
{
"id": "clipboard",
@@ -253,6 +253,13 @@ Rectangle {
"tabIndex": 23,
"clipboardOnly": true
},
{
"id": "printers",
"text": I18n.tr("Printers"),
"icon": "print",
"tabIndex": 8,
"cupsOnly": true
},
{
"id": "window_rules",
"text": I18n.tr("Window Rules"),