Compare commits

...
3 Commits
2 changed files with 20 additions and 3 deletions
+16
View File
@@ -60,3 +60,19 @@ hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings"))
hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"), { locked = true, repeating = true })
hl.bind("SUPER + T", function()
local m = hl.get_monitor("eDP-1")
if m == nil then
return
end
hl.monitor({
output = "eDP-1",
mode = "1800x2880@120",
position = "0x0",
scale = 1.125,
bitdepth = 10,
cm = "srgb",
transform = m.transform == 0 and 1 or 0,
})
end)
+4 -3
View File
@@ -1,7 +1,7 @@
hl.monitor({
output = "eDP-1",
mode = "2880x1800@120",
position = "0x0",
mode = "preferred@120",
position = "auto",
scale = 1.125,
bitdepth = 10,
cm = "srgb",
@@ -9,7 +9,8 @@ hl.monitor({
hl.monitor({
output = "",
mode = "highres@highrr",
-- mirror = "eDP-1",
mode = "preferred",
position = "auto",
scale = 1,
bitdepth = 10,