summaryrefslogtreecommitdiff
path: root/art
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-25 14:45:31 -0700
committerBen Sima <ben@bsima.me>2019-05-25 14:45:31 -0700
commitbefa6754efc4732b238b827a886aeb7c646bf0f1 (patch)
tree5e32d8ff9a9ab2f4d0a577b8d97f3bf09e4da1a7 /art
parentb218f9b9c4bd2bf1a5655a50e853a1df087214d2 (diff)
stub this art script
Diffstat (limited to 'art')
-rwxr-xr-xart26
1 files changed, 26 insertions, 0 deletions
diff --git a/art b/art
new file mode 100755
index 0000000..a30f233
--- /dev/null
+++ b/art
@@ -0,0 +1,26 @@
+#!/usr/bin/env sh
+exec guile -e main -s "$0" "$@"
+!#
+
+#|
+a simple art reference manager, using IPTC tags.
+
+requires libiptcutils and feh
+
+requirements:
+ - list/edit iptc keywords for one or more files
+ - query iptc keywords for dir, list machine files
+|#
+
+(define (main args)
+ (let ((cmd (cadr args)))
+ (cond
+ ((equal? cmd "tags") (display "show all tags"))
+ ((equal? cmd "view") (display "view all images with some tag"))
+ ((equal? cmd "edit") (display "change tags on an image"))
+ ((null? cmd)
+ (begin
+ (display "?: ")
+ (display (cdr args))
+ (newline))))))
+