mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-28 00:04:57 +08:00
fixed output showing as playing when mpc was showing ERROR
This commit is contained in:
parent
1f4ff291af
commit
016c46e920
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ do
|
|||
|
||||
# Vivaldi
|
||||
#if [ ${#NCMPCPP} -eq "0" ] && [[ "$MPDSTATE" = "[paused]" ]]; then
|
||||
if [[ "$MPDSTATE" = "[paused]" ]]; then
|
||||
if [[ "$MPDSTATE" != "[playing]" ]]; then
|
||||
# Grab youtube window title
|
||||
# Depending on your browser, uncomment the correct INPUT line (and comment the others)
|
||||
# Vivaldi
|
||||
|
|
@ -75,7 +75,7 @@ do
|
|||
|
||||
# If no youtube window is found (+pandora)
|
||||
#if [ ${#YOUTUBE} -eq "0" ] && [ ${#NCMPCPP} -eq "0" ]; then
|
||||
if [ ${#YOUTUBE} -eq "0" ] && [[ "$MPDSTATE" = "[paused]" ]]; then
|
||||
if [ ${#YOUTUBE} -eq "0" ] && [[ "$MPDSTATE" != "[playing]" ]]; then
|
||||
if [ ${#PANDORA} -eq "0" ]; then
|
||||
#echo " "
|
||||
echo " "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue