From c539f036aa8423e9178c3b2d3842adec5d412250 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 22 Aug 2026 14:12:14 +0200 Subject: [PATCH] Explain things better Given Finley's confusion --- config/hypr/monitors.lua | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/config/hypr/monitors.lua b/config/hypr/monitors.lua index 189f13c2..99d07e59 100644 --- a/config/hypr/monitors.lua +++ b/config/hypr/monitors.lua @@ -1,10 +1,10 @@ -- See https://wiki.hypr.land/Configuring/Basics/Monitors/ -- List current monitors and supported resolutions with: hyprctl monitors all -local omarchy_gdk_scale = 2 +-- Monitor scale is Hyprland's scale for the output. It sizes everything +-- Wayland-native, accepts fractions (1.6, 1.75), and applies immediately. +-- "auto" lets Hyprland pick per display. local omarchy_monitor_scale = "auto" - -hl.env("GDK_SCALE", tostring(omarchy_gdk_scale)) hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy_monitor_scale }) -- Configure a specific monitor. @@ -12,3 +12,11 @@ hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy -- Portrait/rotated secondary monitor (transform: 1 = 90°, 3 = 270°). -- hl.monitor({ output = "DP-2", mode = "preferred", position = "auto", scale = 1, transform = 1 }) + +-- GDK scale is GDK_SCALE, the factor GTK draws its own UI at. It's what +-- sizes X11/XWayland windows, which Omarchy leaves unscaled so they stay +-- crisp instead of being stretched by the compositor. GTK only honors whole +-- numbers, so use the nearest integer to the monitor scale, and restart an +-- app for a change to reach it. +local omarchy_gdk_scale = 2 +hl.env("GDK_SCALE", tostring(omarchy_gdk_scale))