Safe Haskell | None |
---|---|
Language | Haskell98 |
Bind media keys for Spotify using dbus
.
default keybindings
mediaKeys :: MonadIO m => Map (KeyMask, KeySym) (m ()) -> Map (KeyMask, KeySym) (m ()) Source #
Given your keymaps, add the media keybindings. Currently they are set up for Spotify.
media control in the X
monad
audioPlayPause :: MonadIO m => m () Source #
Action in the X
monad to play/pause