add: i3blocks mpd playing info
This commit is contained in:
parent
61aeaff7f0
commit
634cfeb240
2 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,10 @@ separator_block_width=15
|
||||||
command=./mpc-current
|
command=./mpc-current
|
||||||
interval=persist
|
interval=persist
|
||||||
|
|
||||||
|
[mpd_playing]
|
||||||
|
command=mpc status | sed -n 2p | sed -e 's/].*(/] (/'
|
||||||
|
interval=1
|
||||||
|
|
||||||
[mpd_volume]
|
[mpd_volume]
|
||||||
command=mpc volume | cut -d ":" -f 2
|
command=mpc volume | cut -d ":" -f 2
|
||||||
interval=1
|
interval=1
|
||||||
|
|
Loading…
Reference in a new issue