From e446c4c71e7deaf8f1fa1da8b2dece9b0083bab5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 27 Jul 2025 12:33:54 -0400 Subject: [PATCH] Improve the examples and include the fractional scaling example --- config/hypr/monitors.conf | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/config/hypr/monitors.conf b/config/hypr/monitors.conf index 84db2ff..43aeb6e 100644 --- a/config/hypr/monitors.conf +++ b/config/hypr/monitors.conf @@ -1,17 +1,20 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ - -# Change to 1 if on a 1x display (then change last "auto" to 1 in monitor=) -# Change to something like 1.75 for fractional scaling (can work well with 1.66667 monitor scaling) -# Note: You must relaunch Hyprland after changing any env like this (use Super+Esc, then Relaunch) -env = GDK_SCALE,2 - -# Use single default monitor (see all monitors with: hyprctl monitors) +# List current monitors and resolutions possible: hyprctl monitors # Format: monitor = [port], resolution, position, scale -monitor=,preferred,auto,auto +# You must relaunch Hyprland after changing any envs (use Super+Esc, then Relaunch) -# Exmaple for fractional scaling that works well with GDK_SCALE,1.75 +# Optimized for retina-class 2x displays, like 13" 2.8K, 27" 5K, 32" 6K. +env = GDK_SCALE,2 +monitor=,preferred,auto,2 + +# Good compromise for 27" or 32" 4K monitors (but fractional!) +# env = GDK_SCALE,1.75 # monitor=,preferred,auto,1.666667 +# Straight 1x setup for low-resolution displays like 1080p or 1440p +# env = GDK_SCALE,1 +# monitor=,preferred,auto,1 + # Example for Framework 13 w/ 6K XDR Apple display -# monitor = DP-5, 6016x3384@60.00, auto, 2 -# monitor = eDP-1, 2880x1920@120.00, auto, 2 +# monitor = DP-5, 6016x3384@60, auto, 2 +# monitor = eDP-1, 2880x1920@120, auto, 2