aboutsummaryrefslogtreecommitdiff
path: root/t/tests.lisp
AgeCommit message (Collapse)Author
2026-11-01Save the chosen wallpaper and restore it at loginHEADmainChristopher R. Nelson
Menu items now call the program back with --set FILE, which runs the configured command and, if it exits 0, saves the path to $XDG_STATE_HOME/wallpaper-switcher/current. --restore sets the saved wallpaper again, for use in labwc/openbox autostart. Items use the binary's absolute path so the menu works when it is not on PATH. Paths from the command line are parsed as native namestrings so file names containing * or [ are not treated as wildcards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01Show subdirectories as nested submenusChristopher R. Nelson
Each subdirectory of the wallpaper directory becomes an inline Openbox submenu, recursively, listed before the files at that level. A directory with no wallpapers and no subdirectories gets the same "No wallpapers in ..." header as an empty root. Hidden directories are skipped, and symlinks pointing back up the tree are not followed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31Initial wallpaper-switcher pipe menuChristopher R. Nelson
Common Lisp tool that prints an Openbox pipe menu of the .png/.webp files in ~/.wallpapers, with each item setting the wallpaper via swaybg. Directory, command template and extensions are configurable through ~/.config/wallpaper-switcher/config or command-line options. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>