From 2d86736fb0de6b441ed18768b221932f39edc29a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 25 May 2026 22:41:01 +0200 Subject: [PATCH] Update for the new monitors.lua --- install/first-run/gdk-scale.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/first-run/gdk-scale.sh b/install/first-run/gdk-scale.sh index ba39e92a..ee42e4a4 100644 --- a/install/first-run/gdk-scale.sh +++ b/install/first-run/gdk-scale.sh @@ -1,3 +1,4 @@ # Set the default GDK_SCALE from what the monitor is currently reporting -sed -i -E "s|^([[:space:]]*env[[:space:]]*=[[:space:]]*GDK_SCALE,).*|\\1$(omarchy-hyprland-monitor-scaling)|" ~/.config/hypr/monitors.conf +scale=$(omarchy-hyprland-monitor-scaling) +sed -i -E "s|^local omarchy_gdk_scale = .*|local omarchy_gdk_scale = ${scale}|" "$HOME/.config/hypr/monitors.lua"