-
-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
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 "
ficonf
set -g status-right '#(eval ${tmux-airline} `tmux display -p "#{client_width}"`)'
Metadata
Metadata
Assignees
Labels
No labels