fix(hyprland): use windowrulev2 for class matching and update docs
All checks were successful
Check / eval (push) Successful in 3m0s

- Fixed invalid `windowrule` syntax when matching by class regex
  which caused Hyprland parse errors.
- Documented IPC socket watcher for display profiles in README.
- Updated agent/JOURNAL.md.
This commit is contained in:
Bernardo Magri
2026-07-08 23:07:51 +01:00
parent 9c21aa64b1
commit 5273493c20
3 changed files with 13 additions and 2 deletions

View File

@@ -27,6 +27,17 @@ Template:
- **Verified:** Nix configs evaluate successfully.
- **Pending:** nothing.
## 2026-07-08 — Hyprland Config Fix: Window rules syntax (iteration #88)
- **Task:** Investigate a red Hyprland error banner visible in VM screenshots during boot.
- **Did:**
1. Analyzed Hyprland log output and screenshot OCR text to pinpoint the config error.
2. Identified that `class:` regex matching in Hyprland requires `windowrulev2`, but the previous commits incorrectly used `windowrule` causing syntax errors (`invalid field float: missing a value`).
3. Replaced `windowrule = [` with `windowrulev2 = [` in `modules/home/hyprland.nix`.
4. Updated README.md to document the IPC-based instant reaction for display profiles.
- **Verified:** Ran `hyprctl configerrors` headlessly and re-captured the VM snapshot which no longer displays the red banner.
- **Pending:** Wait for the test build to confirm screenshot is clean.
## 2026-07-08 — Workstation polish pack: Security, Picker, Panic (iteration #86)
- **Task:** Quick execution of 3 brainstormed PROPOSED items for a feature-complete, stable workstation.
- **Did:**