dotfiles/bin/script
2022-07-20 09:14:11 +02:00

21 lines
236 B
Bash
Executable File

#!/bin/bash
usage() {
echo "Usage: $0 /dev/pts/{tty_nb}"
exit 0
}
if [ -z "$1" ]; then
set "$(tty)"
elif ! [ -w "$1" ]; then
usage
fi
(
set -e
asciiquarium &
cmatrix -ab &
while true; do sl; done &
) | lolcat > "$1"