From c12e737a4f3bb78bf6b77c9b2bfd93610be2937f Mon Sep 17 00:00:00 2001 From: azahi Date: Wed, 4 Sep 2019 00:37:09 +0300 Subject: Bump 0.15.4 --- scripts/mpc-play-pause.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/mpc-play-pause.sh') diff --git a/scripts/mpc-play-pause.sh b/scripts/mpc-play-pause.sh index 3fb4f3b..887ba5b 100755 --- a/scripts/mpc-play-pause.sh +++ b/scripts/mpc-play-pause.sh @@ -1,6 +1,6 @@ -#!/usr/bin/env bash +#!/bin/sh -if mpc | grep -q "playing" +if mpc | grep -q '\[playing\]' then mpc --no-status pause else -- cgit 1.4.1