Dynamic tmux popup sizing across different displays

tmux's display-popup is hard to size when you switch between displays. Fixed character sizes are either too small on 4K or too large on a laptop. Percentages don't help either - 60% of a 4K monitor is massive. With some help, came up with a wrapper script that uses a fancy algorithm. popup = base × (screen / reference) ^ 0.5 You set your reference screen (the one you tune on) and base sizes for…