-- ───────────────────────────────────────────────────────────────────────────── -- Per-machine overrides -- -- Loaded last, so anything here beats the modules above. Keep machine-specific -- settings in this file rather than editing the others -- it keeps the rest of -- the config portable between boxes. -- -- Full-time HDR --------------------------------------------------------------- -- The desktop ships SDR at 10-bit with HDR handed to fullscreen games (see -- monitors.lua for why). To run the whole desktop in HDR, uncomment this: -- -- hl.monitor({ -- output = "DP-2", -- mode = "4500x3000@60", -- position = "0x0", -- scale = 1.5, -- bitdepth = 10, -- cm = "hdr", -- sdrbrightness = 1.2, -- how bright SDR content appears, 1.0 - 2.0 -- sdrsaturation = 0.98, -- }) -- -- Then expect to also need some of these, in this order: -- hl.config({ render = { keep_unmodified_copy = 1 } }) -- if captures go transparent -- hl.config({ render = { use_shader_blur_blend = true } }) -- if that kills blur -- hl.config({ render = { direct_scanout = 0 } }) -- if screenshots come back empty -- hl.config({ cursor = { no_hardware_cursors = 1 } }) -- if the cursor looks oversaturated -- -- If screenshots, OBS or Sunshine break and stay broken, that is the known -- upstream issue -- go back to cm = "auto". -- ───────────────────────────────────────────────────────────────────────────── return true