diff --git a/desktopenvs/hyprlua/hypr/usr/monitors.lua b/desktopenvs/hyprlua/hypr/usr/monitors.lua index c1b36b1..40be34a 100644 --- a/desktopenvs/hyprlua/hypr/usr/monitors.lua +++ b/desktopenvs/hyprlua/hypr/usr/monitors.lua @@ -1,7 +1,10 @@ -- generated by monitor-manager -- do not edit by hand hl.monitor({ - output = "eDP-1", - mirror = "none", + output = "eDP-1", + mode = "1920x1200@60", + position = "0x0", + scale = 2, + transform = 0, }) hl.config({ diff --git a/desktopenvs/hyprlua/scripts/monitor-manager b/desktopenvs/hyprlua/scripts/monitor-manager index 46272ee..29d3b61 100755 --- a/desktopenvs/hyprlua/scripts/monitor-manager +++ b/desktopenvs/hyprlua/scripts/monitor-manager @@ -126,7 +126,7 @@ class MonitorState: refresh_rate=rr, transform=d.get("transform", 0), scale=d.get("scale", 1.0), - mirror_of=d.get("mirrorOf", ""), + mirror_of="" if d.get("mirrorOf", "none") in ("none", "") else d["mirrorOf"], available_modes=modes, mode_index=mode_index, )