Merge pull request #1 from ravengalqueen/master

Fixed some issues
This commit is contained in:
Joe Heyming ¯\_(ツ)_/¯
2024-12-29 11:02:47 -08:00
committed by GitHub
2 changed files with 17 additions and 3 deletions

View File

@@ -1,3 +1,17 @@
Usage: ./still_alive.sh ## Dependencies
Please download all the dependencies:
https://github.com/jhechavarria/say.sh
## Usage:
`git clone https://github.com/joeheyming/still_alive.git`
`cd still_alive`
`chmod +x still_alive.sh`
`./still_alive.sh`
Enjoy! Enjoy!

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
slow_type() { slow_type() {
echo $1 | pv -qL 10; echo $1 | pv -qL 10;
@@ -24,7 +24,7 @@ echo ""
while read line; while read line;
do do
(say -v Vicki $line &); (say -v Vicki $line &);
if [[ $line != '.' ]] if [[ $line != . ]]
then then
echo $line | grep 'Aperture Science' && show_file ./aperture_logo.txt; echo $line | grep 'Aperture Science' && show_file ./aperture_logo.txt;
echo $line | grep -i 'black mesa' && show_file ./black_mesa_logo.txt; echo $line | grep -i 'black mesa' && show_file ./black_mesa_logo.txt;