feat: start new lua-based hyprland config

This commit is contained in:
2026-06-13 16:12:20 +02:00
parent d6d9a28161
commit a253ce56b7
22 changed files with 376 additions and 345 deletions
+44
View File
@@ -0,0 +1,44 @@
return function(is_laptop, is_docked)
if is_laptop then
hl.monitor({
output = "",
mode = "preferred",
position = "auto",
scale = 1,
})
if is_docked then
hl.monitor({
output = "eDP-1",
disabled = true,
})
else
hl.monitor({
output = "eDP-1",
mode = "2880x1800@240",
position = "0x0",
scale = 1.5,
})
end
elseif is_laptop and is_docked then
hl.monitor({
output = "DP-1",
mode = "1920x1080@144",
position = "0x0",
scale = 1,
})
else
hl.monitor({
output = "DP-1",
mode = "1920x1080@144",
position = "0x0",
scale = 1,
vrr = 2
})
hl.monitor({
output = "DP-2",
mode = "1920x1080@75",
position = "1920x0",
scale = 1,
})
end
end