From d52bf7a3a1e5b8798b56486b05dd7c1b6967fbcf Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 28 Aug 2026 10:05:24 +0100 Subject: transient utils tweaks --- init.el | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/init.el b/init.el index 5239a26..037d6bb 100644 --- a/init.el +++ b/init.el @@ -2073,6 +2073,7 @@ (jao-def-exec-in-term "aptitude" "aptitude" (jao-afio-goto-scratch)) (jao-def-exec-in-term "htop" "htop" (jao-afio-goto-scratch)) +(jao-def-exec-in-term "sudo-htop" "sudo htop" (jao-afio-goto-scratch)) (defun jao-sieve-manage () (interactive) @@ -2112,12 +2113,12 @@ ("d" "go to doc" jao-select-pdf) ("o" "open doc" jao-open-doc) ("c" "view cache" doc-view-dired-cache)] - ["External" - ("xn" "browse NNW article" jao-nnw-browse-current-article) - ("xs" "browse safary article" jao-safari-internal-browse) - ("xk" "open skim doc" jao-open-skim-doc-in-emacs) - ("xe" "choose an emoji" ns-do-show-character-palette - :if display-graphic-p)] + ;; ["External" + ;; ("xn" "browse NNW article" jao-nnw-browse-current-article) + ;; ("xs" "browse safary article" jao-safari-internal-browse) + ;; ("xk" "open skim doc" jao-open-skim-doc-in-emacs) + ;; ("xe" "choose an emoji" ns-do-show-character-palette + ;; :if display-graphic-p)] ["Blog" ("bn" "create post" jao-org-static-blog-create-new-post) ("bd" "create draft" jao-org-static-blog-create-new-draft) @@ -2127,20 +2128,22 @@ ("z" "docs" jao-afio-goto-docs) ("w" "wwww" jao-afio-goto-www) ("f" "main" jao-afio-goto-main) - ("a" "save configuration" jao-afio-save-configuration)] - ["Chats" - ("T" "telegram rooster" jao-telega) - ("M" "mastodon" mastodon)] + ;; ("a" "save configuration" jao-afio-save-configuration) + ] ["Network" ("S" "sieve" jao-sieve-manage) ("s" "ssh" jao-ssh) ("r" "r2e" jao-r2e) - ("j" "notmuch jump" jao-notmuch-jump)] + ("T" "telegram rooster" jao-telega) + ("M" "mastodon" mastodon) + ;; ("j" "notmuch jump" jao-notmuch-jump) + ] ["Utilities" - ("m" "mpc" jao-transient-media) ("l" "packages" jao-list-packages) + ("F" "copy buffer file name" copy-buffer-file-name-as-kill) ("p" "passwords" password-store-menu) - ("F" "copy buffer file name" copy-buffer-file-name-as-kill)]])) + ("m" "music" jao-transient-media) + ("t" "htop" jao-term-sudo-htop)]])) (transient-define-prefix jao-transient-utils () "Global operations." -- cgit v1.2.3