From ee2730f757b449114b8997ee870e3db73f90b636 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 1 Jul 2022 22:09:00 +0000 Subject: [PATCH] only resize output when using wayland backend surprisingly enough, real hardware complains --- rc.fnl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rc.fnl b/rc.fnl index 842b6da..9565ff2 100644 --- a/rc.fnl +++ b/rc.fnl @@ -13,6 +13,9 @@ )] (socket-repl.start repl-socket-name)) +(fn resize-wayland-backend [output] + (when (string.find (output:name) "^WL-") + (output:set_mode 360 720 0))) (kiwmi:on "output"