From 5ab36068e4c2bc79f25094d02cb1e527b2f931b4 Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Sat, 11 Feb 2023 19:15:13 -0500 Subject: [PATCH] fixed mpd themeing --- scripts/mpd/mpd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mpd/mpd.sh b/scripts/mpd/mpd.sh index 7bdbf75..82654e4 100755 --- a/scripts/mpd/mpd.sh +++ b/scripts/mpd/mpd.sh @@ -33,10 +33,10 @@ else mesg="`mpc -f "%title%" current` :: `mpc status | grep "#" | awk '{print $3}'`" fi -if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then +if [[ ( "$theme" == *'dropdown'* ) ]]; then list_col='1' list_row='6' -elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then +elif [[ ( "$theme" == *'full-menu'* ) ]]; then list_col='6' list_row='1' fi