#!/bin/sh
# start spotify session on tmux
tmux new-session -d -s music fish -C spd
STATUS=$?
if [ $STATUS -eq 0 ]
then
tmux new-window -tmusic -n spotify fish -C spt
fi
if [ -z "$TMUX" ]
exec tmux attach -tmusic:spotify.1