[hydra] add external application hydra

This commit is contained in:
contrapunctus 2021-07-30 15:24:53 +05:30
parent 1a120e251e
commit 5a844c00ce
1 changed files with 9 additions and 0 deletions

View File

@ -1409,6 +1409,15 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol
("v" find-alternate-file "revert")
("w" contrapunctus-window-hydra/body "window"))
#+END_SRC
*** external applications
#+BEGIN_SRC emacs-lisp
(defhydra my-external-hydra (:color red)
"What application?"
("g" (my-start-process "gajim") "Gajim")
("t"
(my-start-process "/media/data/anon/ext/tor-browser_en-US/Browser/firefox.real" "tor-browser")
"Tor Browser"))
#+END_SRC
*** org
#+BEGIN_SRC emacs-lisp
(defhydra cp-org (:color blue)