From 372bb077bcbd6904845991e9e72c759207bc1cf8 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 28 Sep 2025 01:24:29 +0100 Subject: nits --- init.el | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index b29fab9..9194f97 100644 --- a/init.el +++ b/init.el @@ -316,12 +316,13 @@ ("imv-x11 \"%s\"" "image/.*"))))) ;;;; tmr -(use-package tmr - :ensure t - :init - (setq tmr-sound-file - (jao-when-linux "/usr/share/sounds/freedesktop/stereo/message.oga")) - :config (tmr-mode-line-mode 1)) +(jao-when-linux + (use-package tmr + :ensure t + :init + (setq tmr-sound-file + (jao-when-linux "/usr/share/sounds/freedesktop/stereo/message.oga")) + :config (tmr-mode-line-mode 1))) ;;; Crypto ;;;; PGP, EPG, passwords @@ -1791,6 +1792,7 @@ (jao-def-exec-in-term "htop" "htop" (jao-afio-goto-scratch)) (jao-d-l + (transient-define-prefix jao-transient-utils () "Global operations." [["Notes" @@ -1798,19 +1800,16 @@ ("/" "open note" jao-org-notes-open) ("\\" "open note by tags" jao-org-notes-consult-tags) ("g" "ripgrep notes" jao-org-notes-consult-ripgrep)] - ["Mode line" - ("mm" "send to minibuffer" jao-mode-line-add-to-minibuffer-left) - ("ma" "toggle active" jao-mode-line-toggle) - ("mi" "toggle inactive" jao-mode-line-toggle-inactive) - ("me" "echo modeline" jao-mode-line-echo) - ("mf" "readjust faces" jao-mode-line-adjust-faces)] + ["Documents" + ("d" "go to doc" jao-select-pdf) + ("o" "open doc" jao-open-doc)] ["Network" ("s" "ssh" jao-ssh) ("r" "r2e" jao-r2e)] ["Utilities" ("l" "packages" jao-list-packages) - ("R" "translate" reverso) ("f" "copy buffer file name" copy-buffer-file-name-as-kill)]]) + (transient-define-prefix jao-transient-utils () "Global operations." [["Notes" -- cgit v1.2.3