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 8dbdae9..393ad27 100644
--- a/init.el
+++ b/init.el
@@ -247,12 +247,14 @@
:custom
((mailcap-user-mime-data
- '((jao-icalendar-import-buffer "application/ics")
+ `((jao-icalendar-import-buffer "application/ics")
(pdf-view-mode "application/pdf" (display-graphic-p))
("zathura \"%s\"" "application/pdf")
(image-mode "image/*" (display-graphic-p))
- ("firefox --private-window \"%s\"" "text/html"
- (and jao-wayland-enabled (not (display-graphic-p))))
+ (,(concat "riverctl toggle-focused-tags 64"
+ " && riverctl focus-view next"
+ " && qutebrowser \"%s\"")
+ "text/html" (and jao-wayland-enabled (not (display-graphic-p))))
("swayimg \"%s\"" "image/*" jao-sway-enabled)
("imv-wayland \"%s\"" "image/*" jao-wayland-enabled)
("imv-x11 \"%s\"" "image/*" (display-graphic-p))))))
@@ -521,7 +523,7 @@
(when page (sit-for 0.2) (jao-wayland-type (format "%dg" page)))))
(defun jao-river-set-wallpaper (f)
- (jao-shell-exec (concat "swaybg -m fill -i " f)))
+ (jao-shell-exec (concat "swaybg -m fill -i " f " &")))
(defun jao-river-restart-i3bar ()
(interactive)