diff options
-rw-r--r-- | init.el | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -3340,6 +3340,8 @@ (defun jao-window-system-p () (or jao-exwm-enabled jao-xmonad-enabled jao-wayland-enabled)) +(defun jao-x11-p () (or jao-exwm-enabled jao-xmonad-enabled)) + (defun jao-reveal () (interactive) (cond ((or outline-minor-mode (derived-mode-p 'outline-mode )) @@ -3349,12 +3351,8 @@ (transient-define-prefix jao-transient-utils () "Global operations." [["Notes" - ("n" "capture note" jao-org-notes-open-or-create) - ("/" "search notes" jao-org-notes-open) - ("\\" "grep notes" jao-org-notes-grep)] - ["Docus and packs" - ("a" "aptitude" jao-term-aptitude) - ("l" "packages" jao-list-packages) + ("n" "create or open" jao-org-notes-open-or-create) + ("/" "search notes" jao-recoll-consult-notes) ("d" "go to doc" jao-select-pdf) ("D" "open to doc" jao-open-doc)] ["Monitors" @@ -3384,9 +3382,11 @@ jao-bright-up :transient t) ("B d" "bright down" jao-bright-down :transient t)] ["Helpers" + ("a" "aptitude" jao-term-aptitude) + ("l" "packages" jao-list-packages) ("r" "reveal" jao-reveal) ("k" (lambda () (concat "keyboard" (when (jao-kb-toggled-p) "*"))) - jao-kb-toggle :if jao-window-system-p) + jao-kb-toggle :if jao-x11-p) ("M" (lambda () (concat "minibuffer" (when jao-minibuffer-mode "*"))) jao-minibuffer-mode)]]) |