Open bbigras opened 1 year ago
With termux on phones, the status bar could be more optimal.
Currently, I'm using this. Based on https://coderwall.com/p/trgyrq/make-your-tmux-status-bar-responsive .
tmux-airline.sh
#!/usr/bin/env bash WIDTH=${1} SMALL=80 if [ "$WIDTH" -le "$SMALL" ]; then echo "" else echo "#{prefix_highlight}#[fg=cyan,bg=black,nobold,noitalics,nounderscore]#[fg=black,bg=cyan,bold] #H " fi
conf
set -g status-right '#(eval ${tmux-airline} `tmux display -p "#{client_width}"`)'
before:
after:
With termux on phones, the status bar could be more optimal.
Currently, I'm using this. Based on https://coderwall.com/p/trgyrq/make-your-tmux-status-bar-responsive .
tmux-airline.sh
conf