1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-08 04:09:15 -04:00

fix(settings): surface Windows Rules Tab for Hyprland

- small hyprland parser update
This commit is contained in:
purian23
2026-06-03 17:39:44 -04:00
parent e5fff91ae6
commit 6991b45fbe
2 changed files with 2 additions and 6 deletions
@@ -799,11 +799,7 @@ func (p *HyprlandWritableProvider) loadDMSRulesFromLua(data []byte, rulesPath st
Actions: *acts,
}
if wr.ID == "" {
if wr.MatchCriteria.AppID != "" {
wr.ID = wr.MatchCriteria.AppID
} else {
wr.ID = wr.MatchCriteria.Title
}
wr.ID = fmt.Sprintf("dms_rule_%d", len(rules))
}
rules = append(rules, wr)
}
@@ -311,7 +311,7 @@ Rectangle {
"text": I18n.tr("Window Rules"),
"icon": "select_window",
"tabIndex": 28,
"niriOnly": true
"hyprlandNiriOnly": true
}
]
},