aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 23:15:05 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 23:15:05 -0400
commit7fd440f24409013c9f71f9ccb2b9f1e6a189160f (patch)
tree4928d87c87cdeb211eadbdf00e3303906fbda0f5 /tests
parent4d906b08970ef0b536bf0dd1a23a3b75a636f16d (diff)
downloaddotemacs-7fd440f24409013c9f71f9ccb2b9f1e6a189160f.tar.gz
dotemacs-7fd440f24409013c9f71f9ccb2b9f1e6a189160f.zip
fix(dirvish): point the bg wallpaper command at set-wallpaper on Wayland
The Wayland branch of cj/--wallpaper-program-for returned swww, but this system's wallpaper daemon is awww, so dirvish "bg" silently no-opped. Point it at the set-wallpaper script (on PATH via dotfiles), which wraps awww img and persists the choice to waypaper's config. X11 still uses feh. Updated the wallpaper-program test to match.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-dirvish-config-wallpaper-program.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-dirvish-config-wallpaper-program.el b/tests/test-dirvish-config-wallpaper-program.el
index 556c13100..41d2ad8b2 100644
--- a/tests/test-dirvish-config-wallpaper-program.el
+++ b/tests/test-dirvish-config-wallpaper-program.el
@@ -28,9 +28,9 @@
'("feh" "--bg-fill"))))
(ert-deftest test-cj--wallpaper-program-for-wayland ()
- "Normal: wayland dispatches to swww with the img subcommand."
+ "Normal: wayland dispatches to the set-wallpaper script (awww backend + waypaper persist)."
(should (equal (cj/--wallpaper-program-for 'wayland)
- '("swww" "img"))))
+ '("set-wallpaper"))))
(ert-deftest test-cj--wallpaper-program-for-unknown-returns-nil ()
"Boundary: an unknown environment returns nil so the wrapper can fall back."