diff options
author | jao <jao@gnu.org> | 2022-03-09 20:39:56 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-03-09 20:39:56 +0000 |
commit | 7d69f1c5f899f4f43a5e1318a6d238717ec75578 (patch) | |
tree | ff6f0d55f7833a0e29d29d11a5c810146f5a800d /exwm.org | |
parent | 21a3923d4c4545cc9b74b84620479f301cbffa4c (diff) | |
download | elibs-7d69f1c5f899f4f43a5e1318a6d238717ec75578.tar.gz elibs-7d69f1c5f899f4f43a5e1318a6d238717ec75578.tar.bz2 |
exwm: toggle firefox
Diffstat (limited to 'exwm.org')
-rw-r--r-- | exwm.org | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -453,6 +453,13 @@ (switch-to-buffer b) (jao-exwm--send-str "yy") (switch-to-buffer cb)))) + + (defun jao-exwm-toggle-firefox (ff) + (interactive "P") + (if (and (not ff) (equal exwm-class-name "Firefox")) + (jao-afio--goto-main) + (jao-exwm-firefox-1))) + #+end_src * Transients #+begin_src emacs-lisp @@ -525,7 +532,7 @@ ([?\s-A] . org-agenda-list) ([?\s-a] . jao-first-window) ([?\s-b] . jao-transient-org-blog) - ([?\s-f] . jao-exwm-firefox-1) + ([?\s-e] . jao-exwm-toggle-firefox) ([?\s-m] . jao-transient-media) ([?\s-O] . jao-transpose-windows) ([?\s-o] . jao-other-window) |