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:
@@ -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 ))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user