dots


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