From 6c7f0b8ae2de30a808901b16b0d462fe833ea1b4 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Mon, 1 Jun 2020 16:53:50 -0400 Subject: Break config into files. --- lisp/tunes.el | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lisp/tunes.el (limited to 'lisp/tunes.el') 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 +;;; 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)) -- cgit v1.3