fix(hypr): valid windowrulev2 syntax for geforce/moonlight
Booting the desktop VM surfaced Hyprland config errors on every start:
"config option <windowrule:name> does not exist" from apps/geforce.conf
and apps/moonlight.conf. Both used an invalid `windowrule { name=…;
class:=…; idle_inhibit=… }` block form (an Omarchy-era holdover) that
Hyprland rejects line-by-line — exposed once Component 5 wired apps.conf
to source all 17 app rule files. Rewrite as single-line windowrulev2
rules matching every other apps/*.conf: idle-inhibit on fullscreen for
GeForceNOW; open-fullscreen + idle-inhibit for Moonlight.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1 @@
|
||||
windowrule {
|
||||
name = geforce
|
||||
class:= GeForceNOW
|
||||
idle_inhibit = fullscreen
|
||||
}
|
||||
windowrulev2 = idleinhibit fullscreen, class:^(GeForceNOW)$
|
||||
|
||||
@@ -1,6 +1,2 @@
|
||||
windowrule {
|
||||
name = moonlight
|
||||
class:= com.moonlight_stream.Moonlight
|
||||
fullscreen = 1
|
||||
idle_inhibit = fullscreen
|
||||
}
|
||||
windowrulev2 = fullscreen, class:^(com.moonlight_stream.Moonlight)$
|
||||
windowrulev2 = idleinhibit fullscreen, class:^(com.moonlight_stream.Moonlight)$
|
||||
|
||||
Reference in New Issue
Block a user