2026-08-24 10:17:20 -05:00
|
|
|
-- See https://wiki.hypr.land/Configuring/Basics/Monitors/
|
|
|
|
|
-- List current monitors and supported resolutions with: hyprctl monitors all
|
|
|
|
|
|
2026-10-07 12:45:23 -04:00
|
|
|
local omarchy_gdk_scale = 3
|
|
|
|
|
local omarchy_monitor_scale = 3.2
|
2026-08-24 10:17:20 -05:00
|
|
|
|
|
|
|
|
hl.env("GDK_SCALE", tostring(omarchy_gdk_scale))
|
|
|
|
|
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy_monitor_scale })
|
|
|
|
|
|
2026-10-07 12:45:23 -04:00
|
|
|
-- 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 })
|
2026-09-01 11:04:03 -04:00
|
|
|
|
2026-08-24 10:17:20 -05: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 })
|