From 8683fce4aa8cecec869552879f0d41b7aa3c76b9 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 3 Jul 2022 14:57:57 +0100 Subject: [PATCH] use output width/height instead of hardcoding --- rc.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc.fnl b/rc.fnl index d5795e3..842b6da 100644 --- a/rc.fnl +++ b/rc.fnl @@ -17,8 +17,8 @@ (kiwmi:on "output" (fn [output] - (output:set_mode 360 720 0) - (let [[width height] (output:size) + (resize-wayland-backend output) + (let [(width height) (output:size) r (output:renderer) kill (texture.from-file r "close-window.png") launch (texture.from-file r "launcher.png")