feat: org-roam capture templates + binds

This commit is contained in:
2025-10-29 20:02:39 +03:00
parent b5c06b2a0e
commit 36415892db
2 changed files with 9 additions and 4 deletions

View File

@@ -91,10 +91,9 @@
(org-roam-capture-templates (org-roam-capture-templates
'(("d" "default" plain '(("d" "default" plain
(function org-roam-capture--get-point)
"%?" "%?"
:file-name "${slug}" ; <---------- see? :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 :unnarrowed t
:immediate-finish t :config))) :immediate-finish t :config)))
@@ -629,7 +628,7 @@
;; handle scrolling events ;; handle scrolling events
(advice-add 'pixel-scroll-precision :before #'ellama-disable-scroll) (advice-add 'pixel-scroll-precision :before #'ellama-disable-scroll)
(advice-add 'end-of-buffer :after #'ellama-enable-scroll)) (advice-add 'end-of-buffer :after #'ellama-enable-scroll))
;; ellama keybinds
(map! :leader (map! :leader
:nv "e" #'ellama :nv "e" #'ellama
) )
@@ -645,3 +644,9 @@
(setq xclip-select-enable-clipboard t) (setq xclip-select-enable-clipboard t)
(setq xclip-mode t) (setq xclip-mode t)
(setq xclip-method (quote wl-copy))) (setq xclip-method (quote wl-copy)))
;; For capturing notes
(map! :leader
:nv "N" #'org-roam-capture
:nv "D" #'org-roam-dailies-capture-today
)

View File

@@ -92,7 +92,7 @@ bindsym ctrl+shift+s exec --no-startup-id "obs-cmd trigger-hotkey ReplayBuffer.S
# Volume Stuff # Volume Stuff
exec_always wpctl set-volume @DEFAULT_AUDIO_SINK@ 90% exec_always wpctl set-volume @DEFAULT_AUDIO_SINK@ 90%
exec_always wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 58% exec_always wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 52%
#Sway Notif Center #Sway Notif Center
exec swaync exec swaync