commit ee2730f757b449114b8997ee870e3db73f90b636
parent 8683fce4aa8cecec869552879f0d41b7aa3c76b9
Author: Daniel Barlow <dan@telent.net>
Date: Fri, 1 Jul 2022 22:09:00 +0000
only resize output when using wayland backend
surprisingly enough, real hardware complains
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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"