summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2022-02-07 17:09:20 -0600
committerCase Duckworth2022-02-07 17:09:20 -0600
commite8bcf53e55b624d7f470d87065a5fcec2621593d (patch)
tree7132d4cac81cd2ccfb5792334de879f473e41c2e /init.el
parentUndo common-lisp-indent-function (diff)
downloademacs-e8bcf53e55b624d7f470d87065a5fcec2621593d.tar.gz
emacs-e8bcf53e55b624d7f470d87065a5fcec2621593d.zip
Remove emms
Diffstat (limited to 'init.el')
-rw-r--r--init.el40
1 files changed, 0 insertions, 40 deletions
diff --git a/init.el b/init.el index ec011e6..a510daf 100644 --- a/init.el +++ b/init.el
@@ -1236,46 +1236,6 @@ See also `crux-reopen-as-root-mode'."
1236 (:load-after consult embark) 1236 (:load-after consult embark)
1237 (add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode)) 1237 (add-hook 'embark-collect-mode-hook #'consult-preview-at-point-mode))
1238 1238
1239(setup (:straight (emms
1240 :type git
1241 :flavor melpa
1242 :files ("*.el"
1243 "lisp/*.el"
1244 "doc/emms.info"
1245 "doc/emms.texinfo"
1246 "emms-pkg.el")
1247 :pre-build ("make" "-Cdoc")
1248 :repo "https://git.savannah.gnu.org/git/emms.git"))
1249 (:also-load +emms)
1250 ;; TODO: Definitely need to do more customization here
1251 (:option emms-source-file-default-directory "~/var/music/"
1252 emms-player-mpv-update-metadata t)
1253 (dolist (hook '(emms-browser-mode-hook
1254 emms-lyrics-mode-hook
1255 emms-playlist-mode-hook
1256 emms-tag-editor-mode-hook))
1257 (add-hook hook #'turn-off-+key-mode)
1258 (add-hook hook #'turn-off-user-save-mode))
1259 (require 'emms-setup)
1260 (emms-all)
1261 (emms-default-players)
1262 ;; Streaming
1263 (require 'emms-streams)
1264 (:option emms-streams-file (sync/ "emacs/streams.emms"))
1265 ;; Mode line
1266 (:option emms-mode-line-icon-enabled-p t
1267 emms-mode-line-format "%s"
1268 emms-mode-line-mode-line-function ;#'emms-mode-line-icon-function
1269 (defun +emms-mode-line-truncate ()
1270 (let ((current-trunc (concat "{"
1271 (+string-truncate
1272 (emms-mode-line-playlist-current)
1273 24)
1274 "} ")))
1275 current-trunc)))
1276 (emms-mode-line-mode +1)
1277 (emms-playing-time-mode -1))
1278
1279(setup (:straight epithet) 1239(setup (:straight epithet)
1280 (dolist (hook '(Info-selection-hook 1240 (dolist (hook '(Info-selection-hook
1281 eww-after-render-hook 1241 eww-after-render-hook