summaryrefslogtreecommitdiff
path: root/lisp/tunes.el
diff options
context:
space:
mode:
authorJakob L. Kreuze2020-06-01 16:53:50 -0400
committerJakob L. Kreuze2020-06-01 16:53:50 -0400
commit6c7f0b8ae2de30a808901b16b0d462fe833ea1b4 (patch)
tree2cc0a3e9022fc43c39e5b91f4e7832b5387636e9 /lisp/tunes.el
parent4d4f759881e310818055c31f286158da9db60d1c (diff)
Break config into files.
Diffstat (limited to 'lisp/tunes.el')
-rw-r--r--lisp/tunes.el20
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))

© 2015 - 2026 Jakob L. Kreuze