mirror of
https://github.com/ericonr/dotfiles.git
synced 2024-04-21 09:12:33 -05:00
16 lines
187 B
Bash
Executable File
16 lines
187 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
tmux new-session -d -s music
|
|
STATUS=$?
|
|
|
|
if [ $STATUS -eq 0 ]
|
|
then
|
|
tmux new-window -tmusic -n spotify spt
|
|
fi
|
|
|
|
if [ -z $TMUX ]
|
|
then
|
|
tmux attach -tmusic:spotify.1
|
|
fi
|
|
|