From 6ef0d313e0fa5aac930b65815f5b43cf4e6d221a Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 13 Feb 2022 19:47:35 +0100 Subject: [PATCH] [StumpWM] Add keybind for XF86Mail to open mu4e --- org/config/stumpwm.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org/config/stumpwm.org b/org/config/stumpwm.org index 8e1f083..f69f63b 100644 --- a/org/config/stumpwm.org +++ b/org/config/stumpwm.org @@ -1352,10 +1352,12 @@ The application keymap can now be bound to the root map like so: #+end_src I will also bind to the top map ~s-RET~ in order to open a new terminal -window. The screenshot keymap is also bound to the ScreenPrint key. +window. The screenshot keymap is also bound to the ScreenPrint key, +and the ~XF86Mail~ key opens mu4e in Emacs. #+begin_src lisp (define-key *top-map* (kbd "s-RET") "term") (define-key *top-map* (kbd "Print") '*my-screenshot-keymap*) +(define-key *top-map* (kbd "XF86Mail") "exec emacsclient -c -e \"(mu4e)\"") #+end_src ** End of Session, Powering Off, and the Likes