Repository navigation
Commit 7fee60e
authored
fix(hypr): add explicit 'on' value to boolean windowrules (#78)
## Summary
- Follow-up to #77. After migrating matchers to `match:class/title`,
Hyprland still printed `invalid field float: missing a value` (and same
for `center`, `pin`) on startup.
- Per the [Hyprland wiki Static Effects
table](https://wiki.hyprland.org/Configuring/Window-Rules/), boolean
rules like `float`, `center`, `pin` take an optional `[on]` argument.
When the rule is written **before** the matcher (`windowrule = float,
match:class ...`), the comma terminates the field, so the parser sees
`float` as a field name needing a value. Adding `on` makes the rule
explicit and silences the banner.
## Test plan
- [x] `hyprctl reload` — no config-error banner.
- [x] qalculate-gtk opens floating, sized 420x540, centered.
- [x] Steam Friends List / Settings windows float.
- [x] memento window floats, sized 860x580, centered, pinned.
https://claude.ai/code/session_01N8tiUF5B7vqip5BGEwRyBW
---
_Generated by [Claude
Code](https://claude.ai/code/session_01N8tiUF5B7vqip5BGEwRyBW)_1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
| 216 | + | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | | - | |
232 | | - | |
| 231 | + | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
0 commit comments