config: adjust mpd paths

This commit is contained in:
xeruf 2022-05-03 11:30:17 +02:00
parent 7a4eba60cd
commit 8b8c203e29
2 changed files with 5 additions and 3 deletions

View File

@ -388,6 +388,7 @@ Version 2019-11-04 2021-02-16"
org-journal-time-format "%02H " org-journal-time-format "%02H "
) )
:config :config
;; https://emacs.stackexchange.com/questions/17897/create-an-org-journal-template-for-daily-journal-entry/32655#32655 ;; https://emacs.stackexchange.com/questions/17897/create-an-org-journal-template-for-daily-journal-entry/32655#32655
(defun pc/new-buffer-p () (defun pc/new-buffer-p ()
(not (file-exists-p (buffer-file-name)))) (not (file-exists-p (buffer-file-name))))
@ -395,7 +396,7 @@ Version 2019-11-04 2021-02-16"
(when (pc/new-buffer-p) (when (pc/new-buffer-p)
(save-excursion (save-excursion
(goto-char (point-min)) (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) (add-hook 'org-journal-after-entry-create-hook #'pc/insert-journal-template)
(defvar my/survey-mode-journal--timer nil) (defvar my/survey-mode-journal--timer nil)

View File

@ -4,8 +4,9 @@ state_file "~/.local/state/mpd/state"
pid_file "~/.local/state/mpd/mpd.pid" pid_file "~/.local/state/mpd/mpd.pid"
db_file "~/.local/state/mpd/mpd.db" db_file "~/.local/state/mpd/mpd.db"
music_directory "~/data/music" music_directory "~/data/4-media/music"
playlist_directory "~/.config/mpd/playlists" playlist_directory "~/data/4-media/music/Playlists"
#playlist_directory "~/.config/mpd/playlists"
playlist_plugin { playlist_plugin {
name "m3u" name "m3u"
enabled "true" enabled "true"