diff --git a/core/internal/windowrules/providers/hyprland_parser.go b/core/internal/windowrules/providers/hyprland_parser.go index 3c31663d..aa4c6582 100644 --- a/core/internal/windowrules/providers/hyprland_parser.go +++ b/core/internal/windowrules/providers/hyprland_parser.go @@ -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) } diff --git a/quickshell/Modals/Settings/SettingsSidebar.qml b/quickshell/Modals/Settings/SettingsSidebar.qml index b4668246..54d50771 100644 --- a/quickshell/Modals/Settings/SettingsSidebar.qml +++ b/quickshell/Modals/Settings/SettingsSidebar.qml @@ -311,7 +311,7 @@ Rectangle { "text": I18n.tr("Window Rules"), "icon": "select_window", "tabIndex": 28, - "niriOnly": true + "hyprlandNiriOnly": true } ] },