Skip to content

Feature/split move size hyprland windowrules - #2824

Merged
bbedward merged 3 commits into
duxlabs-dev:masterfrom
Mikilio:feature/split-move-size-hyprland-windowrules
Jul 13, 2026
Merged

bbedward merged 3 commits into
duxlabs-dev:masterfrom
Mikilio:feature/split-move-size-hyprland-windowrules

Conversation

@Mikilio

@Mikilio Mikilio commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Description

Replaces the legacy Move/Size string fields (e.g. "100x200") with individual moveX/moveY/sizeWidth/sizeHeight fields throughout the window rules stack. This enables the Hyprland Lua writer to emit proper table syntax (size = { 800, 600 }, move = { "window_w * 0.5", 100 }) which is what Hyprland's rule engine actually expects. Expressions that aren't pure numbers are automatically quoted so Hyprland's backend can evaluate them.

Also fixes a bug where Proc.runCommand in QML resolved dms via PATH instead of using the running binary's actual path. The Go backend now passes DMS_EXECUTABLE to quickshell, and all QML call sites use Proc.dmsBin. This makes development a lot less frustrating.

Solves #2823

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

image

Checklist

@Mikilio

Mikilio commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Requesting help for testing Mango as it is affected by the changes

@bbedward
bbedward merged commit 21eaaef into duxlabs-dev:master Jul 13, 2026
2 checks passed
bbedward pushed a commit that referenced this pull request Jul 14, 2026
* windowrules: add split move/size fields for Lua table syntax

* windowrules: remove deprecated Move/Size fields, switch QML to split fields

* fix: use resolved dms binary path in Proc.runCommand

(cherry picked from commit 21eaaef)
marcusramberg pushed a commit to marcusramberg/DankMaterialShell that referenced this pull request Sep 2, 2026
* windowrules: add split move/size fields for Lua table syntax

* windowrules: remove deprecated Move/Size fields, switch QML to split fields

* fix: use resolved dms binary path in Proc.runCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants