mirror of
https://git.aramjonghu.dev/AramJonghu/hypr.git
synced 2026-09-02 08:03:29 +02:00
fix: touchscreen now transforms as well
This commit is contained in:
+4
-2
@@ -66,13 +66,15 @@ hl.bind("SUPER + T", function()
|
||||
if m == nil then
|
||||
return
|
||||
end
|
||||
local t = m.transform == 0 and 1 or 0
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "1800x2880@120",
|
||||
mode = "2880x1800@120",
|
||||
position = "0x0",
|
||||
scale = 1.125,
|
||||
bitdepth = 10,
|
||||
cm = "srgb",
|
||||
transform = m.transform == 0 and 1 or 0,
|
||||
transform = t,
|
||||
})
|
||||
hl.config({ input = { touchdevice = { transform = t }, tablet = { transform = t } } })
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user