1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 22:15:38 -05:00

dwl: don't always show tag 1

This commit is contained in:
bbedward
2025-10-30 21:58:26 -04:00
parent b27f362b44
commit 1fb4eb33aa
4 changed files with 41 additions and 13 deletions

View File

@@ -243,10 +243,10 @@ Singleton {
function getVisibleTags(outputName) {
const output = getOutputState(outputName)
if (!output || !output.tags) {
return [0]
return []
}
const visibleTags = new Set([0])
const visibleTags = new Set()
output.tags.forEach(tag => {
if (tag.state === 1 || tag.clients > 0) {