commit before configuration of hyprland
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
-- Home Monitor Setup
|
||||
hl.monitor({
|
||||
output = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52",
|
||||
mode = "3440x1440@60",
|
||||
position = "0x0",
|
||||
scale = "1"
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "desc:Dell Inc. DELL U2414H 292K475V26JL",
|
||||
mode = "1920x1080@60",
|
||||
position = "760x-1080",
|
||||
scale = "1"
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "desc:Dell Inc. DELL U2724D DL7R834",
|
||||
mode = "2560x1440@60",
|
||||
position = "3440x0",
|
||||
scale = "1"
|
||||
})
|
||||
|
||||
-- Integrated Laptop Monitor
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "1920x1200@120",
|
||||
position = "auto",
|
||||
scale = "1"
|
||||
})
|
||||
|
||||
-- Default for all other monitors
|
||||
hl.monitor({
|
||||
output = "",
|
||||
mode = "preferred",
|
||||
position = "auto",
|
||||
scale = "auto",
|
||||
})
|
||||
|
||||
-- In Clamshell Mode, deactivate the internal monitor
|
||||
hl.bind("switch:on:Lid Switch", function()
|
||||
hl.monitor({ output = "eDP-1", disabled = true })
|
||||
end, { locked = true })
|
||||
|
||||
hl.bind("switch:off:Lid Switch", function()
|
||||
hl.monitor({ output = "eDP-1", disabled = false })
|
||||
end, { locked = true })
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user