diff options
author | jao <jao@gnu.org> | 2022-08-30 00:53:21 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-08-30 00:53:21 +0100 |
commit | cccf4658ed4e9f900477698fb19af37634093059 (patch) | |
tree | d38f2f2e9129f16d286960e7a872062c4c94d7a8 /init.el | |
parent | 3433b1ad85fdd23c18d11d899754633a035e7483 (diff) | |
download | elibs-cccf4658ed4e9f900477698fb19af37634093059.tar.gz elibs-cccf4658ed4e9f900477698fb19af37634093059.tar.bz2 |
wee tweaks
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -251,8 +251,10 @@ (pdf-view-mode "application/pdf" (display-graphic-p)) ("zathura \"%s\"" "application/pdf") (image-mode "image/*" (display-graphic-p)) - ("firefox \"%s\" && swaymsg [app_id=Firefox] focus" "text/html" + ("firefox --private-window \"%s\"" "text/html" (and jao-sway-enabled (not (display-graphic-p)))) + ;; ("firefox \"%s\" && swaymsg [app_id=Firefox] focus" "text/html" + ;; (and jao-sway-enabled (not (display-graphic-p)))) ("swayimg \"%s\"" "image/*" jao-sway-enabled) ("feh \"%s\"" "image/*"))))) ;;; Crypto @@ -1316,8 +1318,8 @@ (propertize (cond ((and (jao-exwm-enabled-p) (not (bound-and-true-p jao-exwm--use-afio))) (format "F%s" exwm-workspace-current-index)) - (jao-afio-use-frames (jao-afio-frame-name)) - (t (format "%s" (jao-afio-frame-no)))) + (jao-afio-use-frames (or (jao-afio-frame-name) "")) + (t (format "%s" (or (jao-afio-frame-no) "")))) 'face 'font-lock-warning-face)) (jao-minibuffer-add-variable '(jao-current--frame-id) 100) @@ -3255,7 +3257,7 @@ ;;; Global transients (defun jao-list-packages () (interactive) - (jao-afio--goto-scratch-1) + (jao-afio--goto-scratch) (package-list-packages)) (defun jao-window-system-p () |