Changed file extension back

This commit is contained in:
Wryn Wagner
2019-07-18 17:52:16 -06:00
parent cb67fb7efa
commit 0146f199de
7 changed files with 0 additions and 0 deletions

20
bash/fun Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
alias cheerup="clear; echo; fortune | cowsay -f stegosaurus | lolcat; echo;"
function pika {
local DIRECTORY="$HOME/Pictures/pika";
[ ! -d $DIRECTORY ] && echo "Pikachu directory required." && exit 1;
# count the pikas
IMAGE_COUNT=$(ls -l $DIRECTORY | wc -l);
let "IMAGE_COUNT=IMAGE_COUNT-1";
# pick a random gif from the pikachu directory
IMAGE="$DIRECTORY/$((RANDOM % $IMAGE_COUNT)).gif";
echo;
imgcat $IMAGE
echo;
}
alias pikabox='while true; do clear; pika; sleep 120; done'