refactor(hyprlua): make monitors.lua a generic single-screen default
Replace the machine-specific DP-1/DP-3/HDMI-A-1 layout with a wildcard catch-all rule (preferred mode, auto position, auto scale) that brings up any connected output. Per-machine layout stays the job of monitor-manager, which overwrites this file. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>main
parent
a09d509da8
commit
32420fd2c8
|
|
@ -1,26 +1,17 @@
|
|||
-- generated by monitor-manager -- do not edit by hand
|
||||
-- Default monitor configuration.
|
||||
--
|
||||
-- This is a functional fallback only: a single catch-all rule that brings up
|
||||
-- every connected output at its preferred mode, auto-positioned with an
|
||||
-- automatic scale. It is enough to get a usable screen on any machine.
|
||||
--
|
||||
-- Per-machine layout (resolution, position, scale, rotation, mirroring) is
|
||||
-- managed by scripts/monitor-manager, which overwrites this file. Don't hand-
|
||||
-- edit it for a specific setup -- run the manager instead.
|
||||
hl.monitor({
|
||||
output = "DP-1",
|
||||
mode = "1920x1080@60",
|
||||
position = "3816x0",
|
||||
scale = 0.75,
|
||||
transform = 1,
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "DP-3",
|
||||
mode = "1280x1024@76",
|
||||
position = "0x0",
|
||||
scale = 1.0,
|
||||
transform = 0,
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "HDMI-A-1",
|
||||
mode = "3840x2160@60",
|
||||
position = "1280x0",
|
||||
scale = 1.5,
|
||||
transform = 0,
|
||||
output = "", -- empty output = wildcard, matches every monitor
|
||||
mode = "preferred", -- use each monitor's preferred resolution/refresh
|
||||
position = "auto", -- let Hyprland place outputs side by side
|
||||
scale = "auto", -- pick a sensible scale per monitor
|
||||
})
|
||||
|
||||
hl.config({
|
||||
|
|
|
|||
Loading…
Reference in New Issue