------------------
---- MONITORS ----
------------------
-- version 1
-- last change: Fri 2026-06-12

-- See https://wiki.hypr.land/Configuring/Basics/Monitors/

-- To list all available monitors (active and inactive):
-- $ hyprctl monitors all

hl.config({
    render = {
        cm_auto_hdr = 1,
        direct_scanout = 1,
    },
})

hl.monitor({
    output = "desc:Acer Technologies VG270U P 0x847015E8",
    mode = "preferred",
    position = "0x0",
    scale = "1",
    vrr = 2,
})

hl.monitor({
    output = "desc:LG Electronics LG ULTRAGEAR+ 310NTWGDY841",
    mode = "preferred",
    position = "2560x0",
    scale = "1.25",
    bitdepth = 10,
    cm = "srgb",
    -- cm = "hdr",
    vrr = 1,
    supports_wide_color = true,
    supports_hdr = true,
    sdrbrightness = "1.05",
    sdrsaturation = "1.15",
    -- sdr_min_luminance = 1
    sdr_min_luminance = "0.8",
    sdr_max_luminance = 280,
    min_luminance = 0,
    max_luminance = 1000,
    max_avg_luminance = 200
})

hl.monitor({
    output = "desc:Samsung Electric Company Odyssey G70B H1AK500000",
    mode = "preferred",
    position = "auto-right",
    scale = "1.25",
    bitdepth = 10,
    cm = "srgb",
    -- cm = "hdr",
    vrr = 1,
    supports_wide_color = true,
    supports_hdr = true,
    sdrbrightness = "1.1",
    sdrsaturation = "1.0",
    -- sdr_min_luminance = "1",
    sdr_min_luminance = "0.1",
    -- sdr_max_luminance = "200",
    -- min_luminance = "0",
    -- max_luminance = "1000",
    max_avg_luminance = 200
})

hl.monitor({
    output = "desc:LG Electronics LG TV 0x01010101",
    mode = "3840x2160@60",
    position = "auto-right",
    scale = "2",
    bitdepth = 10,
    -- cm = "srgb",
    cm = "hdr",
    scale = "1",
    -- vrr = "1",
    supports_wide_color = true,
    supports_hdr = true,
    sdrbrightness = "1.1",
    sdrsaturation = "1.0",
    -- sdr_min_luminance = "1",
    sdr_min_luminance = "0.1",
    -- sdr_max_luminance = "200",
    -- min_luminance = "0",
    -- max_luminance = "1000",
    max_avg_luminance = 200
})

-- hl.monitor({ output = "desc:LG Electronics LG TV 0x01010101" disabled = true })
-- hl.monitor({ output = "desc:Yamaha Corporation RX-S602" disabled = true })

-- This will make any monitor that was not specified with an explicit rule
-- automatically placed on the right of the other(s), with its preferred resolution.
-- Recommended rule for quickly plugging in random monitors:
hl.monitor({
    output   = "",
    mode     = "preferred",
    position = "auto",
    scale    = 1,
})
