From 416dc7390690e76aa6b6a3681a84f1cde9137bf2 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 2 Jan 2026 11:43:35 +0000 Subject: [PATCH] Adjust layout width divisor More closely match the width/height ration to how the fonts is rendered, making the ratio of 100 closer to square. --- layouts/window-auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/window-auto b/layouts/window-auto index e51a433..e0765b4 100755 --- a/layouts/window-auto +++ b/layouts/window-auto @@ -2,7 +2,7 @@ cols=`tmux display -p "#{pane_width}"` lines=`tmux display -p "#{pane_height}"` -width=$(( $cols / 2 )).0 +width=$(( $cols / 2.5 )) height=$lines.0 ratio=$(( ($width / $height) * 100 ))