xmonad-spotify-0.1.1.0: Bind media keys to work with Spotify

Safe HaskellNone
LanguageHaskell98

XMonad.Util.Spotify

Contents

Description

Bind media keys for Spotify using dbus.

Synopsis

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

audioPrev :: MonadIO m => m () Source #

Action in the X monad to go the previous

audioNext :: MonadIO m => m () Source #

Action in the X monad to go to next

audioPlayPause :: MonadIO m => m () Source #

Action in the X monad to play/pause

audioStop :: MonadIO m => m () Source #