small updates

This commit is contained in:
Matt Nish-Lapidus 2024-08-30 11:06:52 -04:00
parent 6decc29e6b
commit c866312818
3 changed files with 31 additions and 13 deletions

View file

@ -14,6 +14,8 @@
(setq fancy-splash-image (concat doom-user-dir "splash.png"))
(setq doom-theme 'doom-monokai-pro)
(setq +doom-dashboard-pwd-policy nil)
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type 'relative)
@ -28,7 +30,7 @@
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(setq org-directory "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Primary")
(setq org-directory "~/Documents/Obsidian/Primary")
(setq treesit-extra-load-path '("~/Source/_src/tree-sitter-module/dist/"))
@ -135,8 +137,8 @@
;; bibliography file location
(after! citar
(setq! citar-bibliography '("/Users/emenel/Zotero/lib.bib"))
(setq! citar-notes-paths '("/Users/emenel/Library/Mobile Documents/iCloud~md~obsidian/Documents/Primary/Sources"))
(setq! citar-bibliography '("~/Zotero/lib.bib"))
(setq! citar-notes-paths '("~/Documents/Obsidian/Primary/Sources"))
(setq! citar-file-note-extensions '("md")))
;; svelte support
@ -240,9 +242,9 @@
(after! gcode-mode
(add-hook! 'gcode-mode-hook 'eldoc-mode))
(use-package! ready-player
:config
(ready-player-add-to-auto-mode-alist))
;; (use-package! ready-player
;; :config
;; (ready-player-add-to-auto-mode-alist))
;; load additional config files
(load! "obsidian-config.el")

View file

@ -135,6 +135,11 @@
;; (:name "The Boss" :query "from:stallman" :key ?s)
;; (:name "Last 7 days" :query "date:7d..now" :hide-unread t :key ?w)
;; (:name "Messages with images" :query "mime:image/*" :key ?p)))
(mu4e-bookmark-define
(concat "maildir:/matt@emenel.ca/Drafts"
" or maildir:/admin@studyoftime.org/Drafts")
"All Drafts"
?d)
(mu4e-bookmark-define
(concat "flag:unread"
@ -145,6 +150,15 @@
"All Unread"
?U)
(mu4e-bookmark-define
(concat "flag:flagged"
" and not maildir:/matt@emenel.ca/Spam"
" and not maildir:/matt@emenel.ca/Trash"
" and not maildir:/admin@studyoftime.org/Spam"
" and not maildir:/admin@studyoftime.org/Trash")
"All Flagged"
?f)
(mu4e-bookmark-define
(concat "flag:unread"
" and not maildir:/matt@emenel.ca/Spam"
@ -156,20 +170,22 @@
"Inboxes Unread"
?u)
;; inboxes
(mu4e-bookmark-define
(concat "maildir:/matt@emenel.ca/Inbox"
" or maildir:/admin@studyoftime.org/Inbox")
"All Inboxes"
?i)
(setq mu4e-maildir-shortcuts
'((:maildir "/matt@emenel.ca/Inbox" :key ?1 :name "Inbox/matt@emenel.ca")
(:maildir "/matt@emenel.ca/Sent" :key ?2 :name "Sent/matt@emenel.ca")
(:maildir "/matt@emenel.ca/Spam" :key ?3 :name "Spam/matt@emenel.ca")
(:maildir "/admin@studyoftime.org/Inbox" :key ?4 :name "Inbox/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Sent" :key ?5 :name "Sent/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Spam" :key ?6 :name "Spam/admin@studyoftime.org")))
(:maildir "/matt@emenel.ca/Drafts" :key ?2 :name "Drafts/matt@emenel.ca")
(:maildir "/matt@emenel.ca/Sent" :key ?3 :name "Sent/matt@emenel.ca")
(:maildir "/matt@emenel.ca/Spam" :key ?4 :name "Spam/matt@emenel.ca")
(:maildir "/admin@studyoftime.org/Inbox" :key ?5 :name "Inbox/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Drafts" :key ?6 :name "Drafts/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Sent" :key ?7 :name "Sent/admin@studyoftime.org")
(:maildir "/admin@studyoftime.org/Spam" :key ?8 :name "Spam/admin@studyoftime.org")))
(setq mu4e-alert-email-notification-types '(count))

View file

@ -3,7 +3,7 @@
;; configure obsidian integration for note taking fun times
(use-package! obsidian
:config
(obsidian-specify-path "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Primary/")
(obsidian-specify-path "~/Documents/Obsidian/Primary")
(setq obsidian-inbox-directory "_Inbox")
(global-obsidian-mode t)
(map! :map obsidian-mode-map