diff --git a/config/.local/share/ranger/bookmarks b/config/.local/share/ranger/bookmarks index f1b5f25..4df5ad8 100644 --- a/config/.local/share/ranger/bookmarks +++ b/config/.local/share/ranger/bookmarks @@ -1,7 +1,7 @@ -u:/home/tuan/Documents/Uni/Studium/2022&2023_Wintersemester +u:/home/tuan/Documents/Uni/Studium p:/home/tuan/Documents/Protokolle/FSE o:/home/tuan/.dotfiles/config -m:/run/media/tuan/ARCH_202112 +m:/run/media/tuan a:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK l:/home/tuan/Local c:/home/tuan/Documents/CTF @@ -9,9 +9,10 @@ t:/home/tuan/Templates w:/home/tuan/workspace_l/home_lab/wiki k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor q:/home/tuan/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/04-5G_IANA/02-gps -':/home/tuan/Documents/roam +':/home/tuan/workspace_l/home_lab/ansible e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon s:/home/tuan/Pictures/Screenshots v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen g:/home/tuan/workspace_l/home_lab +r:/home/tuan/Documents/roam diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 3b33e42..75d9de6 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -129,3 +129,17 @@ ; Roam (setq org-roam-directory "~/Documents/roam/") +(use-package! websocket + :after org-roam) + +(use-package! org-roam-ui + :after org-roam ;; or :after org +;; normally we'd recommend hooking orui after org-roam, but since org-roam does not have +;; a hookable mode anymore, you're advised to pick something yourself +;; if you don't care about startup time, use +;; :hook (after-init . org-roam-ui-mode) + :config + (setq org-roam-ui-sync-theme t + org-roam-ui-follow t + org-roam-ui-update-on-save t + org-roam-ui-open-on-start t)) diff --git a/emacs/.doom.d/custom.el b/emacs/.doom.d/custom.el index 2131ba9..8c3bbb2 100644 --- a/emacs/.doom.d/custom.el +++ b/emacs/.doom.d/custom.el @@ -3,7 +3,16 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(warning-suppress-types '((org-element-cache) (defvaralias)))) + '(org-roam-capture-templates + '(("d" "default" plain "%?" :target + (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}") + :unnarrowed t) + ("p" "project" plain "* Project Description\n\n- Type: %^{Project Type}\n- Project Partner: %?\n\n* Tasks\n\n** TODO Add initial taks\n\n* Deadlines\n" :target + (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}") + :unnarrowed t) + ("l" "lecture" plain "- Lecture: ${title}\\n\\n- Lecturer: %^{Docent}\\n- Research Group: %^{Research Group}\\n* Description\\n\\n " :target + (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}") + :unnarrowed t nil nil)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/emacs/.doom.d/packages.el b/emacs/.doom.d/packages.el index 2018c33..2cb0a06 100644 --- a/emacs/.doom.d/packages.el +++ b/emacs/.doom.d/packages.el @@ -54,3 +54,6 @@ (package! lsp-ui) (package! flycheck) (package! ledger-mode) + +(unpin! org-roam) +(package! org-roam-ui) diff --git a/zsh/.zshrc b/zsh/.zshrc index 6151c07..5d8a80c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -36,7 +36,7 @@ alias tvres="xrandr --output HDMI1 --transform 1.02,0,-20,0,1.02,-10,0,0,1" alias defaultres="xrandr --output HDMI1 --transform 1.00,0,0,0,1.00,0,0,0,1" alias zshconfig="e ~/.zshrc; source ~/.zshrc;" alias notify="dunstify \"ping~\"" -alias ekill="e -e \"(kill-emacs)\"; ed" +alias ekill="pkill emacs; pkill emacsclient; ed" alias latexmk="latexmk -f -pdf -interaction=nonstopmode" alias picotik="picocom --b 115200 /dev/ttyUSB0"