Files
omarchy-setup/config/hypr/monitors.lua
T
noconnorandClaude Opus 5 9ac198da26 Capture this laptop's Omarchy customizations
Everything on top of a stock Omarchy 4.0.4-1 install, gathered so a second
machine can be brought to the same state: the ~/.config files that actually
differ from the shipped defaults, the three hand-built themes, the ten shell
plugins pinned to commits, the two custom scripts, two user units, and the
/etc drop-ins.

install.sh applies it all idempotently, backing up anything it overwrites.
capture.sh runs the other way so the repo stays the source of truth rather
than a snapshot that rots.

indie.herdr-hud's ten local-only commits ship as a git bundle plus a
working-tree patch, since they stay off the upstream PR deliberately.

Secrets, the dotfiles repo's territory (shell/git/mise), the remote-access
stack and aether-managed themes are all scoped out; README says why for each.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-10 12:07:15 -04:00

49 lines
1.7 KiB
Lua

-- BEGIN hyprmoncfg wake settings
-- Shared with Omarchy while hyprmoncfg manages displays.
hl.monitor({ output = "eDP-1", mode = "preferred", position = "0x0", scale = 1.25 })
-- END hyprmoncfg wake settings
-- See https://wiki.hypr.land/Configuring/Basics/Monitors/
-- List current monitors and supported resolutions with: hyprctl monitors all
--
-- SINGLE SOURCE OF TRUTH for display config.
-- Do not add monitor rules anywhere else (hyprland.lua, a hyprmoncfg-generated
-- file, etc.) -- overlapping rules from several files were what made external
-- displays unrecoverable before.
local omarchy_gdk_scale = 1
local omarchy_monitor_scale = 1.25
hl.env("GDK_SCALE", tostring(omarchy_gdk_scale))
-- Catch-all: anything not named below gets its EDID-preferred mode.
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy_monitor_scale })
-- Built-in laptop panel.
hl.monitor({
output = "desc:Chimei Innolux Corporation 0x1642",
mode = "1920x1200@60",
position = "auto",
scale = 1.25,
})
-- LG IPS236 on the laptop's own HDMI port.
hl.monitor({
output = "desc:LG Electronics IPS236 105NDLS5A720",
mode = "1920x1080@60",
position = "auto",
scale = 1,
})
-- LG TV via the Anker USB-C dock.
-- Deliberately NOT forced to 3840x2160@60: the dock negotiates DP alt-mode
-- with only 2 lanes (pin assignment D), which leaves no bandwidth headroom at
-- 4K60. Forcing it produced a "monitor has no mode" loop. "preferred" is
-- 3840x2160@30 here, which links reliably. Use 1920x1080@120 instead if you
-- want high refresh over this dock.
hl.monitor({
output = "desc:LG Electronics LG TV SSCR2 0x01010101",
mode = "preferred",
position = "auto",
scale = 1.25,
})