summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-30 00:53:21 +0100
committerjao <jao@gnu.org>2022-08-30 00:53:21 +0100
commitcccf4658ed4e9f900477698fb19af37634093059 (patch)
treed38f2f2e9129f16d286960e7a872062c4c94d7a8 /init.el
parent3433b1ad85fdd23c18d11d899754633a035e7483 (diff)
downloadelibs-cccf4658ed4e9f900477698fb19af37634093059.tar.gz
elibs-cccf4658ed4e9f900477698fb19af37634093059.tar.bz2
wee tweaks
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 ()