From cccf4658ed4e9f900477698fb19af37634093059 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 30 Aug 2022 00:53:21 +0100 Subject: wee tweaks --- init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index c841bf1..c6bff7e 100644 --- a/init.el +++ b/init.el @@ -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 () -- cgit v1.2.3