diff options
| author | Yuchen Pei <id@ypei.org> | 2026-11-08 07:58:30 +1100 |
|---|---|---|
| committer | Yuchen Pei <id@ypei.org> | 2026-11-08 07:58:30 +1100 |
| commit | 37c64109dc07a16417a42931c4eb4c682efc08ad (patch) | |
| tree | ac479bae5bf119caf337080267d02bd10e73bef9 /emacs | |
| parent | d1ab29768fb1d21e7733f7f3f5ab1960bf99de42 (diff) | |
[emacs][mpv] Add emms focus mode
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/.emacs.d/init/ycp-emms.el | 3 | ||||
| -rw-r--r-- | emacs/.emacs.d/init/ycp-gnus.el | 2 | ||||
| -rw-r--r-- | emacs/.emacs.d/init/ycp-org.el | 1 | ||||
| -rw-r--r-- | emacs/.emacs.d/init/ycp-web.el | 1 |
4 files changed, 6 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/ycp-emms.el b/emacs/.emacs.d/init/ycp-emms.el index e49209f..65a121d 100644 --- a/emacs/.emacs.d/init/ycp-emms.el +++ b/emacs/.emacs.d/init/ycp-emms.el @@ -43,6 +43,7 @@ (my-keybind emms-playlist-mode-map "C-x C-f" #'emms-play-playlist) (setq emms-player-list '(emms-player-mpv emms-player-vlc)) (setq emms-player-vlc-parameters '("--intf=qt" "--extraintf=rc")) + (add-to-list 'emms-player-mpv-parameters "--audio-client-name=emms" t) (setq emms-playlist-buffer-name "*EMMS Playlist*") (setq emms-source-file-directory-tree-function 'emms-source-file-directory-tree-find) @@ -50,6 +51,8 @@ (setq emms-info-auto-update nil) (add-hook 'emms-playlist-mode-hook #'hl-line-mode) (add-hook 'emms-metaplaylist-mode-hook #'hl-line-mode) + (setq server-name "emms") + (server-start) ) (my-package my-emms diff --git a/emacs/.emacs.d/init/ycp-gnus.el b/emacs/.emacs.d/init/ycp-gnus.el index 7275363..2a3b64f 100644 --- a/emacs/.emacs.d/init/ycp-gnus.el +++ b/emacs/.emacs.d/init/ycp-gnus.el @@ -230,7 +230,7 @@ (setq bbdb-mail-user-agent 'gnus-user-agent) (setq bbdb-update-records-p 'create) (setq bbdb-message-clean-mail-function 'my-bbdb-clean-mail) - (my-setq-from-local bbdb-message-ignore-mail-re) + (setq bbdb-message-ignore-mail-re "not?[-_]?reply") (setq bbdb-add-name nil) (require 'my-bbdb) (my-keybind bbdb-mode-map "C-c C-c" #'my-bbdb-done) diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el index 3e73088..3774b35 100644 --- a/emacs/.emacs.d/init/ycp-org.el +++ b/emacs/.emacs.d/init/ycp-org.el @@ -30,6 +30,7 @@ ;;; the glorious org mode (my-package org + (calendar-set-date-style 'iso) (my-keybind global-map "M-u" #'org-store-link "C-c a" #'org-agenda diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el index 89099d9..407b2f6 100644 --- a/emacs/.emacs.d/init/ycp-web.el +++ b/emacs/.emacs.d/init/ycp-web.el @@ -53,6 +53,7 @@ (my-package osm (:install t) (:delay 30) + (setq osm-server 'de) (require 'my-osm) (my-keybind osm-mode-map "C-<left>" nil |
