Skip to content

settings: add an apply button to the window rule editor - #4126

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Mario-Mohar:feat/window-rule-apply
Nov 4, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Mario-Mohar:feat/window-rule-apply

Conversation

@Mario-Mohar

Copy link
Copy Markdown
Contributor

Description

Adds an Apply button next to Save when editing an existing window rule. It writes the rule and reloads the compositor like Save does, but keeps the dialog open, and the rules list behind it refreshes. It only shows in edit mode, because applying a new rule more than once would add it again each time. Cancel still only closes the dialog, so it does not undo an earlier Apply.

Type of change

  • New feature (non-breaking change that adds functionality)

Related issues

Fixes #4004

Checklist

  • My code follows the conventions in CONTRIBUTING.md

I ran the real dialog in a nested Hyprland session with a stand-in for dms, and checked the update call, the kept excludes and that the dialog stays open. make lint-qml and make test-qml pass.

@github-actions github-actions Bot added feature ui Quickshell UI under quickshell/ labels Nov 4, 2026
@purian23

purian23 commented Nov 4, 2026

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: Apply/Save busy and submitting state, keepOpen path in submit() and every submit() caller, ruleApplied wiring in WindowRulesTab, rule ID stability across repeated updates in core windowrules Set, Theme tokens, reuse of the existing "Apply" i18n term, no deprecated shims. Model: claude-opus-5-5.

@purian23
purian23 merged commit dd95bf5 into duxlabs-dev:master Nov 4, 2026
3 checks passed
dux-ci Bot pushed a commit that referenced this pull request Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add apply button to dux shell's "edit window rule"

2 participants