|
|
|
|
@@ -91,10 +91,9 @@
|
|
|
|
|
|
|
|
|
|
(org-roam-capture-templates
|
|
|
|
|
'(("d" "default" plain
|
|
|
|
|
(function org-roam-capture--get-point)
|
|
|
|
|
"%?"
|
|
|
|
|
:file-name "${slug}" ; <---------- see?
|
|
|
|
|
:head "#+title: ${title}\n#+created: %u\n#+last_modified: %U\n#+roam_tags:${tag}\n\n"
|
|
|
|
|
:target (file+head "${slug}.org" "#+title: ${title}\n")
|
|
|
|
|
:unnarrowed t
|
|
|
|
|
:immediate-finish t :config)))
|
|
|
|
|
|
|
|
|
|
@@ -166,15 +165,7 @@
|
|
|
|
|
;; This way it just waits until you've been idle for a while to avoid disturbing
|
|
|
|
|
;; the user.
|
|
|
|
|
(setq-default org-caldav-inbox nil)
|
|
|
|
|
(setq org-caldav-calendar-id "work")
|
|
|
|
|
;; (defvar org-caldav-sync-timer nil
|
|
|
|
|
;; "Timer that `org-caldav-push-timer' used to reschedule itself, or nil.")
|
|
|
|
|
;; (defun org-caldav-sync-with-delay (secs)
|
|
|
|
|
;; (when org-caldav-sync-timer
|
|
|
|
|
;; (cancel-timer org-caldav-sync-timer))
|
|
|
|
|
;; (setq org-caldav-sync-timer
|
|
|
|
|
;; (run-with-idle-timer
|
|
|
|
|
;; (* 1 secs) nil 'org-caldav-sync)))
|
|
|
|
|
(setq org-caldav-calendar-id nil)
|
|
|
|
|
|
|
|
|
|
(setq org-caldav-files '("~/org/.archive/appointments.org"))
|
|
|
|
|
;; Actual calendar configuration edit this to meet your specific needs
|
|
|
|
|
@@ -191,13 +182,6 @@
|
|
|
|
|
(:calendar-id "home"
|
|
|
|
|
:files: ("~/org/home.org")
|
|
|
|
|
:inbox "~/org/home.org")
|
|
|
|
|
;; (:calendar-id "studies-1"
|
|
|
|
|
;; :files: ("~/org/studies.org")
|
|
|
|
|
;; :inbox "~/org/studies.org"
|
|
|
|
|
;; )
|
|
|
|
|
;; (:calendar-id "some-day-1"
|
|
|
|
|
;; :files: ("~/org/.archive/someday.org")
|
|
|
|
|
;; :inbox "~/org/.archive/someday.org")
|
|
|
|
|
))
|
|
|
|
|
(setq org-caldav-backup-file "~/org-caldav/org-caldav-backup.org")
|
|
|
|
|
(setq org-caldav-save-directory "~/org-caldav/")
|
|
|
|
|
@@ -287,25 +271,6 @@
|
|
|
|
|
'("l" "Someday" entry
|
|
|
|
|
(file+headline "~/org/someday.org" "Inbox")
|
|
|
|
|
"* TODO %? \n %i " :empty-lines 1) t)
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
=======
|
|
|
|
|
;; (add-to-list 'org-capture-templates
|
|
|
|
|
;; '("s" "Studies" entry
|
|
|
|
|
;; (file+headline "~/org/studies.org" "Inbox")
|
|
|
|
|
;; "* TODO [#C] %?\n %i" :empty-lines 1) t)
|
|
|
|
|
;; (add-to-list 'org-capture-templates
|
|
|
|
|
;; '("S" "Lecture" entry
|
|
|
|
|
;; (file+headline "~/org/studies.org" "Schedule")
|
|
|
|
|
;; "* %^{Subject} %^{Type|Lecture|Section}
|
|
|
|
|
;; :PROPERTIES:
|
|
|
|
|
;; :WILD_NOTIFY_BEFORE: %^{Reminders}
|
|
|
|
|
;; :LOCATION: %^{Location}
|
|
|
|
|
;; :END:
|
|
|
|
|
;; %^{Time}T"
|
|
|
|
|
;; :empty-lines 1) t)
|
|
|
|
|
;; add this for reminder stuff
|
|
|
|
|
;; :PROPERTIES:\n\n:WILD_NOTIFY_BEFORE: %^{Reminders}\n:END:\n
|
|
|
|
|
>>>>>>> 430e06c7fd9cb312399d98d25820a5d3940e7ce7
|
|
|
|
|
(add-to-list 'org-capture-templates
|
|
|
|
|
'("W" "Event" entry
|
|
|
|
|
(file+headline "~/org/work.org" "Schedule")
|
|
|
|
|
@@ -510,9 +475,7 @@
|
|
|
|
|
(setq org-pomodoro-finished-sound "~/Music/yippee.wav")
|
|
|
|
|
(setq org-pomodoro-short-break-sound "~/Music/shortbreak.wav")
|
|
|
|
|
(setq org-pomodoro-long-break-sound "~/Music/longbreak.wav")
|
|
|
|
|
(setq x-select-enable-clipboard-manager nil)
|
|
|
|
|
(setq select-active-regions nil)
|
|
|
|
|
(setq org-trello-files '("~/org/grad-trello.org"))
|
|
|
|
|
(setq straight-disable-native-compile '("org-trello") )
|
|
|
|
|
(setq org-agenda-span 'day)
|
|
|
|
|
(setq org-agenda-start-day "-0d")
|
|
|
|
|
@@ -587,7 +550,7 @@
|
|
|
|
|
(make-llm-ollama
|
|
|
|
|
;; this model should be pulled to use it
|
|
|
|
|
;; value should be the same as you print in terminal during pull
|
|
|
|
|
:chat-model "qwen2.5-coder:latest"
|
|
|
|
|
:chat-model "danielsheep/Qwen3-Coder-30B-A3B-Instruct-1M-Unsloth:UD-IQ3_XXS"
|
|
|
|
|
:embedding-model "nomic-embed-text"
|
|
|
|
|
:default-chat-non-standard-params '(("num_ctx" . 8192))))
|
|
|
|
|
;; (setopt ellama-summarization-provider
|
|
|
|
|
@@ -618,7 +581,7 @@
|
|
|
|
|
:default-chat-non-standard-params
|
|
|
|
|
'(("num_ctx" . 32768))))
|
|
|
|
|
(setopt ellama-extraction-provider (make-llm-ollama
|
|
|
|
|
:chat-model "qwen2.5-coder:latest"
|
|
|
|
|
:chat-model "qwen2.5-coder:14b"
|
|
|
|
|
:embedding-model "nomic-embed-text"
|
|
|
|
|
:default-chat-non-standard-params
|
|
|
|
|
'(("num_ctx" . 32768))))
|
|
|
|
|
@@ -634,7 +597,7 @@
|
|
|
|
|
;; handle scrolling events
|
|
|
|
|
(advice-add 'pixel-scroll-precision :before #'ellama-disable-scroll)
|
|
|
|
|
(advice-add 'end-of-buffer :after #'ellama-enable-scroll))
|
|
|
|
|
|
|
|
|
|
;; ellama keybinds
|
|
|
|
|
(map! :leader
|
|
|
|
|
:nv "e" #'ellama
|
|
|
|
|
)
|
|
|
|
|
@@ -648,4 +611,44 @@
|
|
|
|
|
(after! org-babel
|
|
|
|
|
(add-to-list 'org-src-lang-modes '("dot" . graphviz-dot))
|
|
|
|
|
(setq org-src-lang-modes (remove '("dot" . fundamental) org-src-lang-modes))
|
|
|
|
|
;; Setup xclip for wayland
|
|
|
|
|
(after! xclip
|
|
|
|
|
(setq xclip-program "wl-copy")
|
|
|
|
|
(setq xclip-select-enable-clipboard t)
|
|
|
|
|
(setq xclip-mode t)
|
|
|
|
|
(setq xclip-method (quote wl-copy)))
|
|
|
|
|
|
|
|
|
|
(setq +doom-dashboard-menu-sections
|
|
|
|
|
'(
|
|
|
|
|
("Today's Note" :icon
|
|
|
|
|
(nerd-icons-faicon "nf-fa-file_text" :face 'doom-dashboard-menu-title) :action
|
|
|
|
|
org-roam-dailies-goto-today)
|
|
|
|
|
("Go to Daily Note" :icon
|
|
|
|
|
(nerd-icons-faicon "nf-fa-file_text" :face 'doom-dashboard-menu-title) :action
|
|
|
|
|
org-roam-dailies-goto-date)
|
|
|
|
|
("Open project" :icon
|
|
|
|
|
(nerd-icons-octicon "nf-oct-briefcase" :face 'doom-dashboard-menu-title)
|
|
|
|
|
:action projectile-switch-project)
|
|
|
|
|
("Open Config" :icon
|
|
|
|
|
(nerd-icons-faicon "nf-fa-toolbox" :face 'doom-dashboard-menu-title) :action
|
|
|
|
|
chezmoi-find)
|
|
|
|
|
("Telegram" :icon
|
|
|
|
|
(nerd-icons-faicon "nf-fa-telegram" :face 'doom-dashboard-menu-title) :action
|
|
|
|
|
telega)
|
|
|
|
|
("EMAIL" :icon
|
|
|
|
|
(nerd-icons-faicon "nf-fa-fax" :face 'doom-dashboard-menu-title) :action
|
|
|
|
|
mu4e)
|
|
|
|
|
("TETRIS?!" :icon
|
|
|
|
|
(nerd-icons-faicon "nf-fa-gamepad" :face 'doom-dashboard-menu-title) :action
|
|
|
|
|
tetris)
|
|
|
|
|
("SNAAAAAAAAAAAAAAAAKEEEEEE" :icon
|
|
|
|
|
(nerd-icons-faicon "nf-fa-gamepad" :face 'doom-dashboard-menu-title) :action
|
|
|
|
|
snake)
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
;; For capturing notes
|
|
|
|
|
(map! :leader
|
|
|
|
|
:nv "N" #'org-roam-capture
|
|
|
|
|
:nv "D" #'org-roam-dailies-capture-today
|
|
|
|
|
)
|
|
|
|
|
|