Commit ef5116e

xxwhirlpool  ·  2026-01-24 10:40:38 -0500 EST
parent 7853ad0
scratchpad
1 files changed,  +13, -0
+13, -0
......@@ -0,0 +1,13 @@
1+#!/usr/bin/env bash
2+#
3+# open a temp file as a scratchpad
4+
5+NOCOLOR="\033[0m"
6+GREEN="\033[38;5;121m"
7+
8+file="$(mktemp --suffix _scratchpad)"
9+
10+/usr/bin/micro "$file"
11+
12+echo -e "${GREEN}FILEPATH:${NOCOLOR}\n"
13+realpath "$file" | lolcat -p 1.5