summaryrefslogtreecommitdiff
path: root/lisp/tunes.el
blob: d85974ad02ee800ab11cccb1ef04f9cbeca509a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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