doom-etc-dir will be renamed to doom-data-dir, to better reflect its purpose, and align it with XDG_DATA_HOME (where it will be moved to in v3, where Doom will begin to obey XDG directory conventions more closely).
18 lines
513 B
EmacsLisp
18 lines
513 B
EmacsLisp
;;; app/emms/config.el -*- lexical-binding: t; -*-
|
|
|
|
(use-package! emms
|
|
:defer t
|
|
:init
|
|
(setq emms-directory (concat doom-data-dir "emms")
|
|
emms-cache-file (concat doom-cache-dir "emms"))
|
|
:config
|
|
(emms-all)
|
|
(emms-default-players)
|
|
(map! :map emms-playlist-mode-map
|
|
:localleader
|
|
"l" #'emms-toggle-repeat-playlist
|
|
"p" #'emms-insert-playlist
|
|
"i" #'emms-insert-file
|
|
"t" #'emms-toggle-repeat-track
|
|
"s" #'emms-playlist-save
|
|
"m" #'emms-shuffle))
|