summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-24 15:48:20 +0100
committerjao <jao@gnu.org>2022-09-24 15:48:20 +0100
commit4de01c9547049260435826984f316fcb1848a842 (patch)
tree5a9c706bb4421a18a5a5ad9fc9c9cfc1e7ce4f11 /lib/eos
parent7b6f4038c3b4ea65f20c70b7c7ad66957d556968 (diff)
downloadelibs-4de01c9547049260435826984f316fcb1848a842.tar.gz
elibs-4de01c9547049260435826984f316fcb1848a842.tar.bz2
switch-window everywhere
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)