aboutsummaryrefslogtreecommitdiff
path: root/src/state.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>