[StumpWM] Add keybind for XF86Mail to open mu4e

This commit is contained in:
Lucien Cartier-Tilet 2022-02-13 19:47:35 +01:00
parent c3da7367a8
commit 6ef0d313e0
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -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