mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-26 22:42:50 -05:00
feat: add configurable per-monitor workspace filtering and system tray monitor selection (#163)
This commit is contained in:
@@ -44,6 +44,11 @@ Item {
|
||||
"name": "Notepad Slideout",
|
||||
"description": "Quick note-taking slideout panel",
|
||||
"icon": "sticky_note_2"
|
||||
}, {
|
||||
"id": "systemTray",
|
||||
"name": "System Tray",
|
||||
"description": "System tray icons",
|
||||
"icon": "notifications"
|
||||
}]
|
||||
|
||||
function getScreenPreferences(componentId) {
|
||||
|
||||
@@ -284,6 +284,16 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DankToggle {
|
||||
width: parent.width
|
||||
text: "Per-Monitor Workspaces"
|
||||
description: "Show only workspaces belonging to each specific monitor."
|
||||
checked: SettingsData.workspacesPerMonitor
|
||||
onToggled: checked => {
|
||||
return SettingsData.setWorkspacesPerMonitor(checked);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user