1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -05:00

ws: add option for occupied only

This commit is contained in:
bbedward
2025-11-24 12:03:34 -05:00
parent b078e23aa1
commit 5a52edcad8
4 changed files with 64 additions and 23 deletions

View File

@@ -135,6 +135,17 @@ Item {
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show Occupied Workspaces Only")
description: I18n.tr("Display only workspaces that contain windows")
checked: SettingsData.showOccupiedWorkspacesOnly
visible: CompositorService.isNiri || CompositorService.isHyprland
onToggled: checked => {
return SettingsData.set("showOccupiedWorkspacesOnly", checked);
}
}
DankToggle {
width: parent.width
text: I18n.tr("Show All Tags")