summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-16 22:34:13 +0000
committerdavidovski <david@davidovski.xyz>2022-02-16 22:34:13 +0000
commite197b62585b15fbe89261922d288bbb901cd0e33 (patch)
tree6381aaaeccab36d49a4ffeea5c6a7a69b0d25635
parent8162024d4d51bdbe685a542fd68633a902208180 (diff)
added glyphs.sh library
-rwxr-xr-xMakefile5
-rw-r--r--src/glyphs.sh8
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce131f9..a73c92b 100755
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ PREFIX=/usr
.DEFAULT_GOAL := build
-install: install-hbar install-colors install-parseconf install-shtests
+install: install-hbar install-colors install-parseconf install-shtests install-glyphs
build: build-hbar
install-headers: src/*.h
@@ -27,6 +27,9 @@ install-hbar: build-hbar
install-colors: src/colors.list
sh src/generate_colors.sh ${DESTDIR}${PREFIX} src/colors.list
+install-glyphs: src/glyphs.sh
+ install -m755 src/glyphs.sh ${DESTDIR}${PREFIX}/lib
+
check-parseconf:
shtests ./test/parseconf.sh
diff --git a/src/glyphs.sh b/src/glyphs.sh
new file mode 100644
index 0000000..dc4c285
--- /dev/null
+++ b/src/glyphs.sh
@@ -0,0 +1,8 @@
+#
+# Assorted Unicode glyphs that can be repurposed
+#
+
+export CHECKMARK="✔"
+export CROSSMARK="✘"
+export TABCHAR="╰┈➤ "
+