diff --git a/desktopenvs/hyprlua/hypr/usr/monitors.lua b/desktopenvs/hyprlua/hypr/usr/monitors.lua index e6f0cd2..2904e14 100644 --- a/desktopenvs/hyprlua/hypr/usr/monitors.lua +++ b/desktopenvs/hyprlua/hypr/usr/monitors.lua @@ -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({