blob: e14a84c808b1517f5eeb746a13800092a6c6b00a (
plain) (
tree)
|
|
#! /bin/bash
if [[ "$(pgrep mocp)" -eq 0 ]];
then
mocp -M "${XDG_CONFIG_HOME}"/moc -S
if [[ $1 -eq 0 ]];
then
mocp -M "${XDG_CONFIG_HOME}"/moc -v 12
else
mocp -M "${XDG_CONFIG_HOME}"/moc -v "$1"
fi
mocp -M "${XDG_CONFIG_HOME}"/moc -p
mymocp&
else
mocp -M "${XDG_CONFIG_HOME}"/moc -G
fi
|