only resize output when using wayland backend

surprisingly enough, real hardware complains
main
Daniel Barlow 2022-07-01 22:09:00 +00:00
parent 8683fce4aa
commit ee2730f757
1 changed files with 3 additions and 0 deletions

3
rc.fnl
View File

@ -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"