feat: org-roam capture templates + binds
This commit is contained in:
@@ -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
|
||||||
|
)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user