aboutsummaryrefslogtreecommitdiff
path: root/src/package.lisp
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 /src/package.lisp
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 'src/package.lisp')
-rw-r--r--src/package.lisp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/package.lisp b/src/package.lisp
new file mode 100644
index 0000000..3d36565
--- /dev/null
+++ b/src/package.lisp
@@ -0,0 +1,21 @@
+(defpackage #:wallpaper-switcher
+ (:use #:cl)
+ (:export #:main
+ ;; config
+ #:config
+ #:make-config
+ #:config-directory
+ #:config-command
+ #:config-extensions
+ #:default-config
+ #:default-config-path
+ #:parse-config-string
+ #:load-config
+ #:expand-path
+ ;; menu
+ #:find-wallpapers
+ #:shell-quote
+ #:xml-escape
+ #:menu-label
+ #:build-command
+ #:render-menu))