aboutsummaryrefslogtreecommitdiff
path: root/wallpaper-switcher.asd
diff options
context:
space:
mode:
authorChristopher R. Nelson <christopher.nelson@languidnights.com>2026-10-31 23:51:41 -0400
committerChristopher R. Nelson <christopher.nelson@languidnights.com>2026-10-31 23:51:41 -0400
commit0bca7a7eb09f0e094aa721f75d23f771d20c6bf3 (patch)
tree380f0f0d02a504e00bcbdb9c13ca3ba25ca370dc /wallpaper-switcher.asd
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 <noreply@anthropic.com>
Diffstat (limited to 'wallpaper-switcher.asd')
-rw-r--r--wallpaper-switcher.asd24
1 files changed, 24 insertions, 0 deletions
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 <christopher.nelson@languidnights.com>"
+ :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"))))