small updates
This commit is contained in:
parent
6decc29e6b
commit
c866312818
3 changed files with 31 additions and 13 deletions
14
config.el
14
config.el
|
@ -14,6 +14,8 @@
|
||||||
(setq fancy-splash-image (concat doom-user-dir "splash.png"))
|
(setq fancy-splash-image (concat doom-user-dir "splash.png"))
|
||||||
(setq doom-theme 'doom-monokai-pro)
|
(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
|
;; 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'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
|
@ -28,7 +30,7 @@
|
||||||
(set-keyboard-coding-system 'utf-8)
|
(set-keyboard-coding-system 'utf-8)
|
||||||
(prefer-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/"))
|
(setq treesit-extra-load-path '("~/Source/_src/tree-sitter-module/dist/"))
|
||||||
|
|
||||||
|
@ -135,8 +137,8 @@
|
||||||
|
|
||||||
;; bibliography file location
|
;; bibliography file location
|
||||||
(after! citar
|
(after! citar
|
||||||
(setq! citar-bibliography '("/Users/emenel/Zotero/lib.bib"))
|
(setq! citar-bibliography '("~/Zotero/lib.bib"))
|
||||||
(setq! citar-notes-paths '("/Users/emenel/Library/Mobile Documents/iCloud~md~obsidian/Documents/Primary/Sources"))
|
(setq! citar-notes-paths '("~/Documents/Obsidian/Primary/Sources"))
|
||||||
(setq! citar-file-note-extensions '("md")))
|
(setq! citar-file-note-extensions '("md")))
|
||||||
|
|
||||||
;; svelte support
|
;; svelte support
|
||||||
|
@ -240,9 +242,9 @@
|
||||||
(after! gcode-mode
|
(after! gcode-mode
|
||||||
(add-hook! 'gcode-mode-hook 'eldoc-mode))
|
(add-hook! 'gcode-mode-hook 'eldoc-mode))
|
||||||
|
|
||||||
(use-package! ready-player
|
;; (use-package! ready-player
|
||||||
:config
|
;; :config
|
||||||
(ready-player-add-to-auto-mode-alist))
|
;; (ready-player-add-to-auto-mode-alist))
|
||||||
|
|
||||||
;; load additional config files
|
;; load additional config files
|
||||||
(load! "obsidian-config.el")
|
(load! "obsidian-config.el")
|
||||||
|
|
|
@ -135,6 +135,11 @@
|
||||||
;; (:name "The Boss" :query "from:stallman" :key ?s)
|
;; (:name "The Boss" :query "from:stallman" :key ?s)
|
||||||
;; (:name "Last 7 days" :query "date:7d..now" :hide-unread t :key ?w)
|
;; (:name "Last 7 days" :query "date:7d..now" :hide-unread t :key ?w)
|
||||||
;; (:name "Messages with images" :query "mime:image/*" :key ?p)))
|
;; (: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
|
(mu4e-bookmark-define
|
||||||
(concat "flag:unread"
|
(concat "flag:unread"
|
||||||
|
@ -145,6 +150,15 @@
|
||||||
"All Unread"
|
"All Unread"
|
||||||
?U)
|
?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
|
(mu4e-bookmark-define
|
||||||
(concat "flag:unread"
|
(concat "flag:unread"
|
||||||
" and not maildir:/matt@emenel.ca/Spam"
|
" and not maildir:/matt@emenel.ca/Spam"
|
||||||
|
@ -156,20 +170,22 @@
|
||||||
"Inboxes Unread"
|
"Inboxes Unread"
|
||||||
?u)
|
?u)
|
||||||
|
|
||||||
;; inboxes
|
|
||||||
(mu4e-bookmark-define
|
(mu4e-bookmark-define
|
||||||
(concat "maildir:/matt@emenel.ca/Inbox"
|
(concat "maildir:/matt@emenel.ca/Inbox"
|
||||||
" or maildir:/admin@studyoftime.org/Inbox")
|
" or maildir:/admin@studyoftime.org/Inbox")
|
||||||
"All Inboxes"
|
"All Inboxes"
|
||||||
?i)
|
?i)
|
||||||
|
|
||||||
|
|
||||||
(setq mu4e-maildir-shortcuts
|
(setq mu4e-maildir-shortcuts
|
||||||
'((:maildir "/matt@emenel.ca/Inbox" :key ?1 :name "Inbox/matt@emenel.ca")
|
'((: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/Drafts" :key ?2 :name "Drafts/matt@emenel.ca")
|
||||||
(:maildir "/matt@emenel.ca/Spam" :key ?3 :name "Spam/matt@emenel.ca")
|
(:maildir "/matt@emenel.ca/Sent" :key ?3 :name "Sent/matt@emenel.ca")
|
||||||
(:maildir "/admin@studyoftime.org/Inbox" :key ?4 :name "Inbox/admin@studyoftime.org")
|
(:maildir "/matt@emenel.ca/Spam" :key ?4 :name "Spam/matt@emenel.ca")
|
||||||
(:maildir "/admin@studyoftime.org/Sent" :key ?5 :name "Sent/admin@studyoftime.org")
|
(:maildir "/admin@studyoftime.org/Inbox" :key ?5 :name "Inbox/admin@studyoftime.org")
|
||||||
(:maildir "/admin@studyoftime.org/Spam" :key ?6 :name "Spam/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))
|
(setq mu4e-alert-email-notification-types '(count))
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
;; configure obsidian integration for note taking fun times
|
;; configure obsidian integration for note taking fun times
|
||||||
(use-package! obsidian
|
(use-package! obsidian
|
||||||
:config
|
:config
|
||||||
(obsidian-specify-path "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Primary/")
|
(obsidian-specify-path "~/Documents/Obsidian/Primary")
|
||||||
(setq obsidian-inbox-directory "_Inbox")
|
(setq obsidian-inbox-directory "_Inbox")
|
||||||
(global-obsidian-mode t)
|
(global-obsidian-mode t)
|
||||||
(map! :map obsidian-mode-map
|
(map! :map obsidian-mode-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue