mirror of https://github.com/ericonr/dotfiles.git
media: update and add new launcher scripts
This commit is contained in:
parent
662576732f
commit
474b17fda4
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
exec spotifyd --no-daemon
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
command -v spotify-tui > /dev/null && SPT="spotify-tui"
|
||||
SPT="${SPT:-/usr/bin/spt}"
|
||||
|
||||
exec $SPT
|
|
@ -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 ]
|
||||
|
|
Loading…
Reference in New Issue