summaryrefslogtreecommitdiffstats
path: root/streams/groove
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-06-08 18:36:41 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-06-08 18:36:41 +0200
commit0b41656ae2127a35652745a94946ccfe7d79d437 (patch)
treefdd87974255c866259aa69296492ccf90b5f325a /streams/groove
parente89ede8ec7e8893c6fe23f456fbc4de4ab04804c (diff)
parent80385639a3e2570b18c82dc5366d219be7c71d24 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'streams/groove')
-rwxr-xr-xstreams/groove7
1 files changed, 3 insertions, 4 deletions
diff --git a/streams/groove b/streams/groove
index f3e3719a..935a16d9 100755
--- a/streams/groove
+++ b/streams/groove
@@ -1,11 +1,10 @@
#! /bin/bash
set -euf
-CMD="mplayer http://somafm.com/groovesalad.pls"
+CMD="exec mplayer http://somafm.com/groovesalad.pls"
function start() {
stop
- tmux list-sessions &&
- tmux new-window "$CMD" ||
- tmux new-session "$CMD" ||
+ tmux start-server
+ tmux new-session -d "$CMD"
}
function stop()
{