mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-08 12:13:31 -04:00
fix(settings): surface Windows Rules Tab for Hyprland
- small hyprland parser update
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user