diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bin/tmux_attach | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bin/tmux_attach b/bin/bin/tmux_attach index 9d5488a..80add99 100755 --- a/bin/bin/tmux_attach +++ b/bin/bin/tmux_attach @@ -7,6 +7,8 @@ UNION=$(cat <(echo "$SESSIONS") <(echo "$TMUXINATOR") | sort | uniq | sed "/^$/d SESSION=$(echo "$UNION" | dmenu -i -p "Session:" | tr -d '[[:space:]]') [[ -n $SESSION ]] || exit +# Rename i3 workspace +command -v i3-msg && i3-msg workspace "$SESSION" grep -Fxq "$SESSION" <(echo "$TMUXINATOR") \ && COMMAND="tmuxinator start $SESSION" \ |