Shell scripts

8ball.sh picks a text file, termin8ball runs a new Terminator window with a special config.
This commit is contained in:
kittenlikeasmallcat 2021-12-17 12:57:44 -08:00 committed by GitHub
parent 356b527f69
commit 1468b1dfe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

9
8ball.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
#terminator --config ~/.config/terminator/8ballconf --profile=8 --geometry=515x515
EIGHTBALL=$( ls ~/.8ball/Answers/ | sort -R | tail -1 );
ANSWER=$( cat ~/.8ball/Answers/$EIGHTBALL );
echo -e $ANSWER | pv -qL 3000;

3
termin8ball Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
terminator --config ~/.config/terminator/8ballconf --profile=8 --geometry=515x515