Change lolcat path

This commit is contained in:
Lord Of Nougate 2022-05-24 22:52:03 +02:00
parent afe8a29a24
commit 7e0460cb6c

View File

@ -11,6 +11,7 @@ tput_cols=$(/usr/bin/tput cols) # terminal columns
MINTERMWIDTH=200 # minimal width of term, to display motd
UNAMECOLOR="\033[1;38;5;93m"
UPTIMECOLOR="\033[1;38;5;99m"
lx="$MOTDPATH/lolcat/lolcat"
WAIFUS=$(($(ls $MOTDPATH/waifus/*.256.png | wc -w) - 1)) # count of waifus
@ -18,7 +19,6 @@ function output() {
val=0
if [ $1 == "true" ]; then val=$(($val + 1)); fi
if [ $2 == "true" ]; then val=$(($val + 2)); fi
if [ -f "/usr/games/lolcat" ]; then lx="/usr/games/lolcat"; else lx="/usr/bin/lolcat"; fi
case "$val" in
0)
/bin/cat $MOTDPATH/motd