aboutsummaryrefslogtreecommitdiff
path: root/scripts/ditherify
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ditherify')
-rwxr-xr-xscripts/ditherify5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/ditherify b/scripts/ditherify
new file mode 100755
index 0000000..9277f96
--- /dev/null
+++ b/scripts/ditherify
@@ -0,0 +1,5 @@
+#!/usr/bin/env nix-shell
+#! nix-shell -p imagemagick -i bash
+
+BASEDIR=$(dirname "$0")
+convert $1 -dither FloydSteinberg -remap ${BASEDIR}/gruvbox-dark.png $2