512 lines · 19.0 KB
-- This is an example Hyprland Lua config file.
-- Refer to the wiki for more information.
-- https://wiki.hypr.land/Configuring/Start/

-- Please note not all available settings / options are set here.
-- For a full list, see the wiki

-- You can (and should!!) split this configuration into multiple files
-- Create your files separately and then require them like this:
-- require("myColors")


------------------
---- MONITORS ----
------------------

-- See https://wiki.hypr.land/Configuring/Basics/Monitors/
-- eDP-1 (laptop) on the left, DP-2 (LG external 4K) primary on the right.
local internalDisplay = "eDP-1"
local internalDisplayMode = "preferred"
local internalDisplayPosition = "-1600x0"
local internalDisplayScale = "1.6"
local dp2External = "DP-2"
local externalScale = "1.25"
local hdmiExternal = "HDMI-A-1"
local dp1External = "DP-1"

hl.monitor({
    output   = internalDisplay,
    mode     = internalDisplayMode,
    position = internalDisplayPosition,
    scale    = internalDisplayScale,
})
hl.monitor({
    output   = dp2External,
    mode     = "preferred",
    position = "0x0",
    scale    = externalScale,
})
hl.monitor({