summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el25
1 files changed, 12 insertions, 13 deletions
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"