56 lines
1.4 KiB
Lua
56 lines
1.4 KiB
Lua
-- See https://wiki.hyprland.org/Configuring/Monitors/
|
|||
|
|
-- List current monitors and resolutions possible: hyprctl monitors
|
||
|
|
-- Format: monitor = [port], resolution, position, scale
|
||
|
|
|
||
|
|
-- Optimized for retina-class 2x displays, like 13" 2.8K, 27" 5K, 32" 6K.
|
||
|
|
-- hl.monitor({
|
||
|
|
-- output = "eDP-1",
|
||
|
|
-- mode = "3840x2160",
|
||
|
|
-- position = "0x0",
|
||
|
|
-- scale = 2,
|
||
|
|
-- })
|
||
|
|
hl.monitor({
|
||
|
|
output = "desc:Samsung Electric Company LU28R55 HNMN500475",
|
||
|
|
mode = "3840x2160",
|
||
|
|
position = "auto-left",
|
||
|
|
scale = 1.5,
|
||
|
|
})
|
||
|
|
hl.monitor({
|
||
|
|
output = "desc:Samsung Electric Company LU28R55 HNMN500462",
|
||
|
|
mode = "3840x2160",
|
||
|
|
position = "auto-right",
|
||
|
|
scale = 1.5,
|
||
|
|
})
|
||
|
|
-- hl.monitor({
|
||
|
|
-- output = "HDMI-A-1",
|
||
|
|
-- mode = "preferred",
|
||
|
|
-- position = "auto",
|
||
|
|
-- scale = "auto",
|
||
|
|
-- })
|
||
|
|
|
||
|
|
-- Good compromise for 27" or 32" 4K monitors (but fractional!)
|
||
|
|
-- hl.env("GDK_SCALE", 1.75)
|
||
|
|
-- hl.monitor({
|
||
|
|
-- mode = "preferred",
|
||
|
|
-- position = "auto",
|
||
|
|
-- scale = 1.6,
|
||
|
|
-- })
|
||
|
|
|
||
|
|
-- Straight 1x setup for low-resolution displays like 1080p or 1440p
|
||
|
|
-- Or for ultrawide monitors like 34" 3440x1440 or 49" 5120x1440
|
||
|
|
-- hl.env("GDK_SCALE", 1)
|
||
|
|
-- hl.monitor({
|
||
|
|
-- mode = "preferred",
|
||
|
|
-- position = "auto",
|
||
|
|
-- scale = 1,
|
||
|
|
-- })
|
||
|
|
|
||
|
|
-- Portrait/rotated secondary monitor (transform: 1 = 90°, 3 = 270°)
|
||
|
|
-- hl.monitor({
|
||
|
|
-- output = "DP-2",
|
||
|
|
-- mode = "preferred",
|
||
|
|
-- position = "auto",
|
||
|
|
-- scale = 1,
|
||
|
|
-- transform = 1,
|
||
|
|
-- })
|