dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

tmux-fix-scaling.sh (181B)


      1 #!/bin/sh
      2 status_width=`echo "$(tput cols)/3"|bc|tr -d '\n'`
      3 tmux new-window -n resize \
      4     "tmux set status-right-length $status_width; tmux set status-left-length $status_width"