From 4de01c9547049260435826984f316fcb1848a842 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 24 Sep 2022 15:48:20 +0100 Subject: switch-window everywhere --- lib/eos/jao-wayland.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/eos') diff --git a/lib/eos/jao-wayland.el b/lib/eos/jao-wayland.el index 104bd23..c500d19 100644 --- a/lib/eos/jao-wayland.el +++ b/lib/eos/jao-wayland.el @@ -91,7 +91,8 @@ (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-kill-p "swaybg") + (jao-shell-exec* "riverctl" "spawn" (concat "swaybg -m fill -i " f))) (defun jao-river-restart-i3bar () (interactive) -- cgit v1.2.3