]> git.rmz.io Git - dotfiles.git/blobdiff - bin/clementine_start-play-pause
merge bin from shada
[dotfiles.git] / bin / clementine_start-play-pause
diff --git a/bin/clementine_start-play-pause b/bin/clementine_start-play-pause
new file mode 100755 (executable)
index 0000000..249e612
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+lockfile=$(/bin/ls /tmp | grep qtsingleapp-clem-* | grep -v lockfile)
+
+[[ $lockfile ]] && clementine -t || (clementine & clementine -t)