Loosen aeson bounds
Work around divMod being broken for Volume
Remove unused import
mpd-status
mpd-status
is an interactive block for
i3blocks
.
It shows a brief description of the current song (e.g. "{Artist} - {Song}
[paused | {vol}%]") and does various actions when clicked.
By default, left click plays and pauses, right click stops, the scroll wheel
changes the volume, middle click shuffles all albums, and, if your mouse has
them, the back button returns to the previous song and the forward button skips
to the next album (this can be changed to go to the next song by editing
I3blocks/ButtonMap.hs
and changing buttonToOp = albumShuffleButtons
to
buttonToOp = defaultButtons
).
mpd-status
mpc
, or just the
current song ending. Most existing blocks are mpc
-based scripts which
can't easily do thislibmpd-haskell
's DSL
clear >> add "" >> random True >> play Nothing
replaces the current
queue with your library and shuffles itrunhaskell
, but that's noticeably slow in my experiencempv
(Maybe. It has an IPC server, but it's not especially
suitable for this)At some point I'll start distributing binaries,
but for now you'll need cabal-install
.
$ git clone https://github.com/pvsr/mpd-status
$ cd mpd-status
$ cabal new-update
$ cabal new-install mpd-status
Then add ~/.cabal/bin/
to your PATH
.