Added emms as doom module { :app emms } (#3581)

* Added emms dir to gitignore.

* Added emms module.

* Added emms module.

* Added emms module.

* I had a weird bug fixed it.

* I suck.

* Made the changer lissner requested.

* Made a restart music daemon func.

* Simplify config and bump package

* Proofread readme

Co-authored-by: Takoda J Horton <takodajhorton@protonmail.com>
Co-authored-by: Henrik Lissner <henrik@lissner.net>
This commit is contained in:
tJ2ow 2021-03-06 00:44:04 -05:00 committed by GitHub
parent 287e3e83b2
commit 7b07e612b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 123 additions and 0 deletions

View file

@ -0,0 +1,18 @@
;;; app/emms/config.el -*- lexical-binding: t; -*-
(use-package! emms
:defer t
:init
(setq emms-directory (concat doom-etc-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))