diff options
-rw-r--r-- | custom/jao-custom-exwm.el | 6 | ||||
-rw-r--r-- | lib/eos/jao-afio.el | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el index 1a5e4c2..2f2bb7f 100644 --- a/custom/jao-custom-exwm.el +++ b/custom/jao-custom-exwm.el @@ -221,7 +221,7 @@ (interactive) ,@(when ws `((jao-exwm-workspace ,ws))) (if (jao-exwm-switch-to-class/title ,class) - ,(cond ((equal ws 5) '(delete-other-windows)) + ,(cond ((equal ws -1) '(delete-other-windows)) ((stringp (car args)) (cdr args)) (t args)) (setq jao-exwm--current-name ,class) @@ -277,7 +277,7 @@ (jao-def-exwm-runner jao-exwm-open-with-mupdf nil nil "mupdf" (buffer-file-name)) (jao-def-exwm-runner jao-exwm-xterm 0 nil "xterm") -;; (jao-def-exwm-toggler jao-exwm-tidal 5 "tidal-hifi" "tidal-hifi") +;; (jao-def-exwm-toggler jao-exwm-tidal -1 "tidal-hifi" "tidal-hifi") ;; (defalias 'jao-streaming-list #'jao-exwm-tidal) (defun jao-exwm-import-screen (&optional area) @@ -411,7 +411,7 @@ ("m" "open with mupdf" jao-exwm-open-with-mupdf)]) ;;; Firefox support -(jao-def-exwm-toggler jao-exwm-firefox 5 "Firefox" "firefox") +(jao-def-exwm-toggler jao-exwm-firefox -1 "Firefox" "firefox") (defun jao-exwm-browse-with-firefox (&rest args) (jao-exwm-firefox) diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el index 304ee64..ac932aa 100644 --- a/lib/eos/jao-afio.el +++ b/lib/eos/jao-afio.el @@ -234,6 +234,7 @@ ;;;###autoload (defun jao-afio-goto-nth (n) (cl-case n + ((-1) (jao-afio-goto-scratch t)) ((0) (jao-afio-goto-scratch)) ((1) (jao-afio-goto-main)) ((2) (jao-afio-goto-mail)) |