From 8b8c203e2913763d4fc0fd3e54749448a774e5a3 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Tue, 3 May 2022 11:30:17 +0200 Subject: [PATCH] config: adjust mpd paths --- .config/doom/config.el | 3 ++- .config/mpd/mpd.conf | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 80ef2fa..cd282ca 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -388,6 +388,7 @@ Version 2019-11-04 2021-02-16" org-journal-time-format "%02H " ) :config + ;; https://emacs.stackexchange.com/questions/17897/create-an-org-journal-template-for-daily-journal-entry/32655#32655 (defun pc/new-buffer-p () (not (file-exists-p (buffer-file-name)))) @@ -395,7 +396,7 @@ Version 2019-11-04 2021-02-16" (when (pc/new-buffer-p) (save-excursion (goto-char (point-min)) - (insert "#+startup: overview noinlineimages\n#+options: \\n:t\n")))) + (insert (concat ":properties:\n:id: " (file-name-base buffer-file-name) "\n:end:\n#+startup: overview noinlineimages\n#+options: \\n:t\n"))))) (add-hook 'org-journal-after-entry-create-hook #'pc/insert-journal-template) (defvar my/survey-mode-journal--timer nil) diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 32c41f2..0902972 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -4,8 +4,9 @@ state_file "~/.local/state/mpd/state" pid_file "~/.local/state/mpd/mpd.pid" db_file "~/.local/state/mpd/mpd.db" -music_directory "~/data/music" -playlist_directory "~/.config/mpd/playlists" +music_directory "~/data/4-media/music" +playlist_directory "~/data/4-media/music/Playlists" +#playlist_directory "~/.config/mpd/playlists" playlist_plugin { name "m3u" enabled "true"