2026-10-14 13:32:30 -04:00
|
|
|
-- 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 })
|
|
|
|
|
|
2026-10-14 18:54:08 -04:00
|
|
|
-- Apple Studio Display (DP-4) on the left, laptop panel (eDP-1) on the right.
|
|
|
|
|
-- Logical widths at scale 2: 5120/2 = 2560, so eDP-1 starts at x=2560.
|
|
|
|
|
hl.monitor({ output = "eDP-1", mode = "2560x1600@180", position = "2560x0", scale = 2 })
|
|
|
|
|
hl.monitor({ output = "DP-4", mode = "5120x2880@60", position = "0x0", scale = 2 })
|
2026-10-14 13:32:30 -04:00
|
|
|
|
|
|
|
|
-- 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 })
|