media: update and add new launcher scripts

This commit is contained in:
Érico Rolim 2020-05-10 23:24:16 -03:00
parent 662576732f
commit 474b17fda4
3 changed files with 10 additions and 1 deletions

3
media/.local/bin/spd Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
exec spotifyd --no-daemon

6
media/.local/bin/spt Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
command -v spotify-tui > /dev/null && SPT="spotify-tui"
SPT="${SPT:-/usr/bin/spt}"
exec $SPT

View File

@ -2,7 +2,7 @@
# start spotify session on tmux
tmux new-session -d -s music fish -C "spotifyd --no-daemon"
tmux new-session -d -s music fish -C spd
STATUS=$?
if [ $STATUS -eq 0 ]