diff --git a/hmModules/emacs/init.el b/hmModules/emacs/init.el index 435ad0a..1dee394 100644 --- a/hmModules/emacs/init.el +++ b/hmModules/emacs/init.el @@ -841,6 +841,16 @@ This is meant to be an helper to be called from the window manager." ("C-c n l" . consult-org-roam-forward-links) ("C-c n s" . consult-org-roam-search)) +(use-package org-roam-ui + :straight + :after org-roam + :hook (after-init . org-roam-ui-mode) ;; don't care about startup time since I'm using Emacs daemonized + :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)) + (use-package gptel :custom (gptel-api-key (lambda () (require 'f) (f-read-text (getenv "OPENAI_API_KEY_PATH")))) diff --git a/hmModules/hyprland/hyprland.conf b/hmModules/hyprland/hyprland.conf index 068a65f..79ef97a 100644 --- a/hmModules/hyprland/hyprland.conf +++ b/hmModules/hyprland/hyprland.conf @@ -34,6 +34,7 @@ bind = $mod, b, exec, firefox bind = $mod, t, exec, footclient $SHELL bind = $mod, RETURN, exec, emacsclient -c --eval "(ccr/start-eshell)" bind = $mod, m, exec, emacsclient -c --eval '(notmuch-search "tag:new")' +bind = $mod, g, exec, emacsclient -c --eval '(switch-to-buffer (gptel "*ChatGPT*"))' bind = $mod, d, exec, fuzzel --background-color=253559cc --border-radius=5 --border-width=0 bind = $mod, s, exec, screenshot.sh bind = $mod, n, exec, logseq diff --git a/hosts/picard/default.nix b/hosts/picard/default.nix index 60677ff..0501993 100644 --- a/hosts/picard/default.nix +++ b/hosts/picard/default.nix @@ -35,7 +35,7 @@ "hass-poweroff" "forgejo-runners" "teamviewer" - # "macos-ventura" + "macos-ventura" "sunshine" "mount-sisko" "adb" diff --git a/packages/emacs/packages.nix b/packages/emacs/packages.nix index 9ed79db..ea483fd 100644 --- a/packages/emacs/packages.nix +++ b/packages/emacs/packages.nix @@ -68,6 +68,7 @@ let org-modern org-roam org-roam-ql + org-roam-ui visual-fill-column consult-org-roam pass