From 0bca7a7eb09f0e094aa721f75d23f771d20c6bf3 Mon Sep 17 00:00:00 2001 From: "Christopher R. Nelson" Date: Sat, 31 Oct 2026 23:51:41 -0400 Subject: Initial wallpaper-switcher pipe menu 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 --- wallpaper-switcher.asd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 wallpaper-switcher.asd (limited to 'wallpaper-switcher.asd') diff --git a/wallpaper-switcher.asd b/wallpaper-switcher.asd new file mode 100644 index 0000000..6df70b7 --- /dev/null +++ b/wallpaper-switcher.asd @@ -0,0 +1,24 @@ +(defsystem "wallpaper-switcher" + :description "Openbox pipe menu that lists wallpapers and sets them with swaybg." + :author "Christopher R. Nelson " + :license "MIT" + :version "0.1.0" + :depends-on ("uiop") + :pathname "src/" + :serial t + :components ((:file "package") + (:file "config") + (:file "menu") + (:file "main")) + :build-operation "program-op" + :build-pathname "../wallpaper-switcher" + :entry-point "wallpaper-switcher:main" + :in-order-to ((test-op (test-op "wallpaper-switcher/tests")))) + +(defsystem "wallpaper-switcher/tests" + :depends-on ("wallpaper-switcher") + :pathname "t/" + :components ((:file "tests")) + :perform (test-op (o c) + (unless (uiop:symbol-call :wallpaper-switcher/tests :run-tests) + (error "wallpaper-switcher tests failed")))) -- cgit v1.2.3