chore: random pokemon zsh

main
sudo pacman -Syu 2024-05-10 15:25:11 +07:00
parent 2578dd0802
commit 12ba1b56d2
4 changed files with 82 additions and 75 deletions

View File

@ -1,18 +0,0 @@
▄▄▄▄▄▄▄ ▄▄ ▄▄
▄▄▄▄▄▄▄▄▄▄ ▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▀
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▀ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄
▀▄▄▀▀▀▀ ▀▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀▄▄▄▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▀▀ ▀▄▄▄▄▄▄▄▄
▀▀▀ ▄▄▄▄▄▄▀
▀▄▄▄▄▀

11
data/pokeget/machoke.txt Normal file
View File

@ -0,0 +1,11 @@
▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▄▄▀ ▄▄▄▄▄▄▄▄▄▄▀▀▄▄▀▀
▄▄▄▄▄▄▄▄▄▄▄▄
▀▄▄▄▀▀▀▄▄▄▄▄▄
▀▄▄▄▄▄

View File

@ -162,17 +162,31 @@ if command -v daktilo &>/dev/null; then
fi
# https://github.com/talwat/pokeget-rs
rand_poke=$((RANDOM % 6))
rand_poke=$((RANDOM % 13))
if [[ $rand_poke -eq 0 ]]; then
cat ~/.config/pokeget/pikachu.txt
cat ~/.config/pokeget/bulbasaur.txt
elif [[ $rand_poke -eq 1 ]]; then
cat ~/.config/pokeget/clefairy.txt
cat ~/.config/pokeget/charmeleon.txt
elif [[ $rand_poke -eq 2 ]]; then
cat ~/.config/pokeget/ditto.txt
elif [[ $rand_poke -eq 3 ]]; then
cat ~/.config/pokeget/chikorita.txt
elif [[ $rand_poke -eq 3 ]]; then
cat ~/.config/pokeget/clefairy.txt
elif [[ $rand_poke -eq 4 ]]; then
cat ~/.config/pokeget/eevee.txt
cat ~/.config/pokeget/ditto.txt
elif [[ $rand_poke -eq 5 ]]; then
cat ~/.config/pokeget/dratini.txt
elif [[ $rand_poke -eq 6 ]]; then
cat ~/.config/pokeget/eevee.txt
elif [[ $rand_poke -eq 7 ]]; then
cat ~/.config/pokeget/machoke.txt
elif [[ $rand_poke -eq 8 ]]; then
cat ~/.config/pokeget/pikachu-world-cap.txt
elif [[ $rand_poke -eq 9 ]]; then
cat ~/.config/pokeget/pikachu.txt
elif [[ $rand_poke -eq 10 ]]; then
cat ~/.config/pokeget/psyduck.txt
elif [[ $rand_poke -eq 11 ]]; then
cat ~/.config/pokeget/slowpoke.txt
elif [[ $rand_poke -eq 12 ]]; then
cat ~/.config/pokeget/squirtle.txt
fi

View File

@ -23,7 +23,7 @@ pokeget --hide-name clefairy >data/pokeget/clefairy.txt
pokeget --hide-name ditto >data/pokeget/ditto.txt
pokeget --hide-name dratini >data/pokeget/dratini.txt
pokeget --hide-name eevee >data/pokeget/eevee.txt
pokeget --hide-name machamp >data/pokeget/machamp.txt
pokeget --hide-name machoke >data/pokeget/machoke.txt
pokeget --hide-name pikachu >data/pokeget/pikachu.txt
pokeget --hide-name pikachu-world-cap >data/pokeget/pikachu-world-cap.txt
pokeget --hide-name psyduck >data/pokeget/psyduck.txt