mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-09 05:05:27 +00:00
feat(tray): Remove global trayBlacklist
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"floating": false,
|
||||
"marginVertical": 0.25,
|
||||
"marginHorizontal": 0.25,
|
||||
"trayBlacklist": [],
|
||||
|
||||
"widgets": {
|
||||
"left": [
|
||||
{
|
||||
|
||||
@@ -139,7 +139,7 @@ Singleton {
|
||||
property bool floating: false
|
||||
property real marginVertical: 0.25
|
||||
property real marginHorizontal: 0.25
|
||||
property list<string> trayBlacklist: []
|
||||
|
||||
|
||||
// Widget configuration for modular bar system
|
||||
property JsonObject widgets
|
||||
|
||||
@@ -37,7 +37,7 @@ Rectangle {
|
||||
readonly property bool isVertical: barPosition === "left" || barPosition === "right"
|
||||
readonly property bool compact: (Settings.data.bar.density === "compact")
|
||||
property real itemSize: Math.round(Style.capsuleHeight * 0.65 * scaling)
|
||||
property list<string> blacklist: widgetSettings.blacklist || Settings.data.bar.trayBlacklist || [] // Read from settings
|
||||
property list<string> blacklist: widgetSettings.blacklist || widgetMetadata.blacklist || [] // Read from settings
|
||||
property var filteredItems: []
|
||||
|
||||
function wildCardMatch(str, rule) {
|
||||
|
||||
@@ -10,7 +10,7 @@ ColumnLayout {
|
||||
property var widgetMetadata: ({}) // Expected by BarWidgetSettingsDialog
|
||||
|
||||
// Local state for the blacklist
|
||||
property var localBlacklist: widgetData.blacklist || Settings.data.bar.trayBlacklist || []
|
||||
property var localBlacklist: widgetData.blacklist || []
|
||||
|
||||
ListModel {
|
||||
id: blacklistModel
|
||||
|
||||
Reference in New Issue
Block a user