Restructure tmux argument determination