-- See https://wiki.hypr.land/Configuring/Basics/Monitors/ -- List current monitors and supported resolutions with: hyprctl monitors all local omarchy_gdk_scale = 3 local omarchy_monitor_scale = 3.2 hl.env("GDK_SCALE", tostring(omarchy_gdk_scale)) hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy_monitor_scale }) -- Laptop panel (eDP-1) on the left, Apple Studio Display on the right. -- Logical widths at scale 2: 2560/2 = 1280, so DP-4 starts at x=1280. hl.monitor({ output = "eDP-1", mode = "2560x1600@180", position = "0x0", scale = 2 }) hl.monitor({ output = "DP-4", mode = "5120x2880@60", position = "1280x0", scale = 2 }) -- Configure a specific monitor. -- hl.monitor({ output = "DP-2", mode = "2560x1440@144", position = "0x0", scale = 1 }) -- Portrait/rotated secondary monitor (transform: 1 = 90°, 3 = 270°). -- hl.monitor({ output = "DP-2", mode = "preferred", position = "auto", scale = 1, transform = 1 })