From 14c22cbbaa05a68c2648845037c7a31fcea14f8e Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Sat, 30 May 2026 21:30:35 +0100 Subject: [PATCH] fix(hypr): valid windowrulev2 syntax for geforce/moonlight MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Booting the desktop VM surfaced Hyprland config errors on every start: "config option 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 --- core/home/config/nomarchy/default/hypr/apps/geforce.conf | 6 +----- .../home/config/nomarchy/default/hypr/apps/moonlight.conf | 8 ++------ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/core/home/config/nomarchy/default/hypr/apps/geforce.conf b/core/home/config/nomarchy/default/hypr/apps/geforce.conf index 635a1fb..5d47010 100644 --- a/core/home/config/nomarchy/default/hypr/apps/geforce.conf +++ b/core/home/config/nomarchy/default/hypr/apps/geforce.conf @@ -1,5 +1 @@ -windowrule { - name = geforce - class:= GeForceNOW - idle_inhibit = fullscreen -} +windowrulev2 = idleinhibit fullscreen, class:^(GeForceNOW)$ diff --git a/core/home/config/nomarchy/default/hypr/apps/moonlight.conf b/core/home/config/nomarchy/default/hypr/apps/moonlight.conf index e6d85d3..be31905 100644 --- a/core/home/config/nomarchy/default/hypr/apps/moonlight.conf +++ b/core/home/config/nomarchy/default/hypr/apps/moonlight.conf @@ -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)$