mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
20 lines
959 B
Lua
20 lines
959 B
Lua
-- See https://wiki.hypr.land/Configuring/Basics/Monitors/
|
|
-- List current monitors and supported resolutions with: hyprctl monitors all
|
|
|
|
local omarchy_gdk_scale = 2
|
|
local omarchy_monitor_scale = 2
|
|
|
|
hl.env("GDK_SCALE", tostring(omarchy_gdk_scale))
|
|
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy_monitor_scale })
|
|
|
|
-- Apple Studio Display 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 = "DP-4", mode = "5120x2880@60", position = "0x0", scale = 2 })
|
|
hl.monitor({ output = "eDP-1", mode = "2560x1600@180", position = "2560x0", 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 })
|