summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el10
1 files changed, 6 insertions, 4 deletions
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 ()