.
This commit is contained in:
1 parent
06330e7fb6
commit
5a9704167b
1 file changed
+32
Executable
+32
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
cat <<"EOF"
|
||||
_ ____ ____ ___ ___
|
||||
/ \ / ___| / ___|_ _|_ _|
|
||||
/ _ \ \___ \| | | | | |
|
||||
/ ___ \ ___) | |___ | | | |
|
||||
/_/ \_\____/ \____|___|___|
|
||||
-Z4CKX
|
||||
|
||||
EOF
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Script to create ascii font based header on user input
|
||||
# and copy the result to the clipboard
|
||||
# -----------------------------------------------------
|
||||
|
||||
read -p "Enter the text for ascii encoding: " mytext
|
||||
|
||||
if [ -f ~/ASCII.txt ]; then
|
||||
touch ~/ASCII.txt
|
||||
fi
|
||||
|
||||
echo "cat <<\"EOF\"" > ~/ASCII.txt
|
||||
ASCII "$mytext" >> ~/ASCII.txt
|
||||
echo "" >> ~/ASCII.txt
|
||||
echo "EOF" >> ~/ASCII.txt
|
||||
|
||||
lines=$( cat ~/ASCII.txt )
|
||||
wl-copy "$lines"
|
||||
xclip -sel clip ~/ASCII.txt
|
||||
|
||||
echo "Text copied to clipboard!"
|
||||
Reference in new issue
Block a user