From 67a5c79a89db0d41bba4453943489f62b7b27022 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 3 Sep 2022 02:12:16 +0100 Subject: river nits --- init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'init.el') 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) -- cgit v1.2.3