diff options
Diffstat (limited to 'custom/jao-custom-exwm.el')
| -rw-r--r-- | custom/jao-custom-exwm.el | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el index 09a5180..d36c8f1 100644 --- a/custom/jao-custom-exwm.el +++ b/custom/jao-custom-exwm.el @@ -59,34 +59,8 @@ (start-process-shell-command "import" "* exwm - console *" c))) ;;; Firefox support -(jao-def-exwm-toggler jao-exwm-firefox -1 "firefox" "firefox") - -(defun jao-exwm-browse-with-firefox (&rest args) - (jao-exwm-firefox) - (apply #'browse-url-firefox args)) - (setq browse-url-secondary-browser-function #'jao-exwm-browse-with-firefox) -(defun jao-exwm-kill-firefox-url () - (interactive) - (when-let* ((b (jao-exwm-find-class-buffer "firefox"))) - (let ((cb (current-buffer))) - (switch-to-buffer b) - (exwm-input--fake-key ?y) - (exwm-input--fake-key ?y) - (prog1 (current-kill 1) - (switch-to-buffer cb))))) - -(defun jao-exwm-firefox-search (query) - (interactive "sQuery: ") - (jao-exwm-firefox) - (sit-for 0.5) - (exwm-input--fake-key ?s) - (dolist (k (string-to-list query)) - (exwm-input--fake-key k)) - (sit-for 0.5) - (exwm-input--fake-key ?\r)) - ;;; Transients (jao-transient-major-mode+ doc-view ["External viewers" |
