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 | 372b4ee38bc048da98946e51f1bce5c21ce935bd (patch) | |
| tree | 9dc82b2cbc84021fb96e96b89e07aa09241ee4cc /tests/test-dirvish-config-wallpaper-program.el | |
| parent | b1ffcb54476705314d1d08245b842410c7a38328 (diff) | |
| download | dotemacs-372b4ee38bc048da98946e51f1bce5c21ce935bd.tar.gz dotemacs-372b4ee38bc048da98946e51f1bce5c21ce935bd.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 556c1310..41d2ad8b 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." |
