Tentative renouvellement block MPD
This commit is contained in:
parent
b9432c0932
commit
b4fe385d4f
7 changed files with 70 additions and 137 deletions
.i3blocks
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue