diff options
Diffstat (limited to 'lisp/tunes.el')
| -rw-r--r-- | lisp/tunes.el | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lisp/tunes.el b/lisp/tunes.el new file mode 100644 index 0000000..d85974a --- /dev/null +++ b/lisp/tunes.el @@ -0,0 +1,20 @@ +;;; tunes.el -*- lexical-binding: t; -*- +;;; +;;; Author: Jakob L. Kreuze <zerodaysfordays@sdf.org> +;;; URL: https://git.sr.ht/~jakob/.emacs.d/ +;;; +;;; Configuration for using Emacs as an MPD [1] client. +;;; +;;; [1]: https://www.musicpd.org/ +;;; + +(use-package mpdel + :demand t + ;; Use a more sane prefix key for interacting with 'mpdel'. + :init + (setq mpdel-prefix-key (kbd "C-c z")) + + ;; Start `mpdel-mode', and while we're at it, start the daemon, too. + :config + (shell-command "ps -e | grep -q mpd || mpd") + (mpdel-mode)) |