diff options
author | bd <bdunahu@gmail.com> | 2024-01-04 18:07:12 -0700 |
---|---|---|
committer | bd <bdunahu@gmail.com> | 2024-01-04 18:07:12 -0700 |
commit | bc930046e3c7413ffb8463904cbd053c1c9d2874 (patch) | |
tree | ee9533a2958efd083fdb3ab7241e72dcf2b3b09c /.config/emacs/bd-emms.el | |
parent | 4e70e151d85f06cba891b731dbbaeca44a09f65b (diff) |
emms keybinding changes, fix file music dir and playlist expansion.
Diffstat (limited to '.config/emacs/bd-emms.el')
-rw-r--r-- | .config/emacs/bd-emms.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/emacs/bd-emms.el b/.config/emacs/bd-emms.el index 2e48ca0..24c0d25 100644 --- a/.config/emacs/bd-emms.el +++ b/.config/emacs/bd-emms.el @@ -7,7 +7,7 @@ side window." (if (get-buffer emms-playlist-buffer-name) (progn (display-buffer-in-side-window (get-buffer emms-playlist-buffer-name) '((side . right))) (select-window (get-buffer-window emms-playlist-buffer-name))) - (message "The Ainur are silent..."))) + (message "The Ainur cannot hear you..."))) (defun emms-quickstart () "Queues a shuffled playlist and starts @@ -20,20 +20,20 @@ playback." (emms-shuffle)) (use-package emms - :bind (("C-z C-m" . 'emms-open-playlist-buffer)) + :bind (("C-c C-m" . 'emms-open-playlist-buffer) + ("C-c C-p" . 'emms-play-playlist) + ("C-c C-s" . 'emms-quickstart)) :config (emms-all) (add-to-list 'emms-info-functions 'emms-info-functions 'emms-info-mpd) (add-to-list 'emms-player-list 'emms-player-mpd) - ;; refresh database - (emms-player-mpd-update-all-reset-cache) :custom ;; make sure mpd is configured similarly (emms-player-mpd-server-name "localhost") (emms-player-mod-server-port "6600") ;; set dir and volume keys - (emms-player-mpd-music-directory (expand-file-name "$HOME/Personal/mpd/music/")) - (emms-source-file-default-directory (expand-file-name "$HOME/Personal/mpd/playlists/")) + (emms-player-mpd-music-directory "/home/bdunahu/Personal/mpd/music/") + (emms-source-file-default-directory "/home/bdunahu/Personal/mpd/playlists/") (emms-volume-change-function 'emms-volume-mpd-change) ;; misc (emms-mode-line-format "%s ") |