Dotfiles/desktopenvs/hyprlua/hypr/usr/monitors.lua

22 lines
862 B
Lua

-- 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 = "", -- 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({
xwayland = {
force_zero_scaling = true,
},
})