improved mpd visualization
This commit is contained in:
parent
8b88d97a7e
commit
a7401c2423
@ -32,7 +32,7 @@ getVolume() {
|
||||
getMPD(){
|
||||
echo -n "%{F$BLUE}♫ "
|
||||
if [ "$(mpc | wc -l)" -gt 1 ]; then
|
||||
echo -n "%{F$BROWN}$(mpc | cut -d$'\n' -f1) %{F$BLUE}♫ %{F$GREY}$(mpc | cut -d$'\n' -f2)"
|
||||
echo -n "%{F$BROWN}$(mpc | cut -d$'\n' -f1) %{F$BLUE}♫ %{F$GREY}$(mpc | cut -d$'\n' -f2 | cut -d ' ' -f1,2,4)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user