diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-24 23:15:05 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-24 23:15:05 -0400 |
| commit | 7fd440f24409013c9f71f9ccb2b9f1e6a189160f (patch) | |
| tree | 4928d87c87cdeb211eadbdf00e3303906fbda0f5 /tests/test-dirvish-config-wallpaper-program.el | |
| parent | 4d906b08970ef0b536bf0dd1a23a3b75a636f16d (diff) | |
| download | dotemacs-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/test-dirvish-config-wallpaper-program.el')
| -rw-r--r-- | tests/test-dirvish-config-wallpaper-program.el | 4 |
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." |
