493 lines · 18.6 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 internalMonitor = "eDP-1"
local internalMonitorMode = "preferred"
local internalMonitorPosition = "-1600x0"
local internalMonitorScale = "1.6"
local externalMonitor = "DP-2"
local externalMonitorScale = "1.25"
local additionalExternalMonitor = "HDMI-A-1"

hl.monitor({
    output   = internalMonitor,
    mode     = internalMonitorMode,
    position = internalMonitorPosition,
    scale    = internalMonitorScale,
})
hl.monitor({
    output   = externalMonitor,
    mode     = "preferred",
    position = "0x0",
    scale    = externalMonitorScale,
})
hl.monitor({
    output   = additionalExternalMonitor,