diff options
author | jao <jao@gnu.org> | 2022-09-01 04:07:33 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-09-01 04:07:33 +0100 |
commit | 83d903b05d311f1811cdab188775a665f173600e (patch) | |
tree | 60a16d7a6429b3071d35b7a101ef958488220139 | |
parent | 88c84d72b2eb407983ccabfdd48b9ec3a20a40a2 (diff) | |
download | elibs-83d903b05d311f1811cdab188775a665f173600e.tar.gz elibs-83d903b05d311f1811cdab188775a665f173600e.tar.bz2 |
transient tweaks
-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)]]) |