Professional Documents
Culture Documents
Cmus Status
Cmus Status
/bin/bash
# Copyright (C) 2016 Duan Gvozdenovi
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if [ ! -z "$1" ]; then
if [ "$1" == "previous" ]; then
exec cmus-remote -r
elif [ "$1" == "next" ]; then
exec cmus-remote -n
fi
echo "$text"