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.
This commit is contained in:
2026-01-02 11:43:35 +00:00
parent df7a4d581b
commit 416dc73906

View File

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