summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-wayland.el3
1 files changed, 2 insertions, 1 deletions
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)