Tentative renouvellement block MPD

This commit is contained in:
Breizh 2021-06-05 22:49:18 +02:00
parent b9432c0932
commit b4fe385d4f
7 changed files with 70 additions and 137 deletions
.i3blocks

View file

@ -11,7 +11,7 @@ else
[[ -z "$origstatus" ]] && origstatus='stop'
fi
LONG=30
LONG=15
SHORT=15
case $BLOCK_BUTTON in
@ -95,15 +95,15 @@ then
case $scrolling in
long)
longsong="${song} "
shortsong="${song} "
longsong="${song}"
shortsong="${song}"
;;
short)
longsong="$(<${runtime}/mpd) "
shortsong="${song} "
longsong="$(<${runtime}/mpd)"
shortsong="${song}"
;;
none)
longsong="$(<${runtime}/mpd) "
longsong="$(<${runtime}/mpd)"
shortsong="$longsong"
;;
esac