1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

displays: remove system tray per-display opt

- superceded by omegabar
This commit is contained in:
bbedward
2025-12-07 20:13:40 -05:00
parent cffb16d7f7
commit e05ad81c13

View File

@@ -59,12 +59,6 @@ Item {
"description": I18n.tr("Quick note-taking slideout panel"),
"icon": "sticky_note_2"
},
{
"id": "systemTray",
"name": I18n.tr("System Tray"),
"description": I18n.tr("System tray icons"),
"icon": "notifications"
}
];
}
@@ -822,7 +816,7 @@ Item {
const prefs = displaysTab.getScreenPreferences(parent.componentId);
const isAll = prefs.includes("all") || (typeof prefs[0] === "string" && prefs[0] === "all");
const cid = parent.componentId;
const isRelevantComponent = ["dankBar", "dock", "notifications", "osd", "toast", "notepad", "systemTray"].includes(cid) || cid.startsWith("bar:");
const isRelevantComponent = ["dankBar", "dock", "notifications", "osd", "toast", "notepad"].includes(cid) || cid.startsWith("bar:");
return !isAll && isRelevantComponent;
}
onToggled: checked => {
@@ -906,4 +900,4 @@ Item {
}
}
}
}
}