merging commits
10
motd.sh
@ -1,6 +1,10 @@
|
||||
# Fancy waifu motd
|
||||
|
||||
<<<<<<< HEAD
|
||||
MOTDPATH="$HOME/src/motd" # path to motd folder
|
||||
=======
|
||||
MOTDPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" # path to motd folder
|
||||
>>>>>>> 01b098ef55e85b9ed6e37c03428b18db0e93a44f
|
||||
CACHEFILE="/tmp/waifu.cache" # to cache waifu state
|
||||
RESOLUTION=256 # resolution of waifu
|
||||
CENTER=true # center motd?
|
||||
@ -21,8 +25,8 @@ function output() {
|
||||
if [ -f "/usr/games/lolcat" ]; then lx="/usr/games/lolcat"; else lx="/usr/bin/lolcat"; fi
|
||||
case "$val" in
|
||||
0)
|
||||
/bin/cat $MOTDPATH/motd
|
||||
uname $UNAMEARG
|
||||
/bin/cat $MOTDPATH/motd
|
||||
uname $UNAMEARG
|
||||
uptime $UPTIMEARG
|
||||
;;
|
||||
|
||||
@ -82,5 +86,3 @@ printf '\033[0m' #reset colors
|
||||
fi
|
||||
output $LOLCAT $CENTER
|
||||
# fi
|
||||
|
||||
|
||||
|
BIN
waifus/waifu-153.128.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
waifus/waifu-153.256.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
waifus/waifu-153.64.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
waifus/waifu-154.128.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
waifus/waifu-154.256.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
waifus/waifu-154.64.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
waifus/waifu-155.128.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
waifus/waifu-155.256.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
waifus/waifu-155.64.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
waifus/waifu-156.128.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
waifus/waifu-156.256.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
waifus/waifu-156.64.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
waifus/waifu-157.128.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
waifus/waifu-157.256.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
waifus/waifu-157.64.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
waifus/waifu-158.128.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
waifus/waifu-158.256.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
waifus/waifu-158.64.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
waifus/waifu-159.128.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
waifus/waifu-159.256.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
waifus/waifu-159.64.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
waifus/waifu-160.128.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
waifus/waifu-160.256.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
waifus/waifu-160.64.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
waifus/waifu-161.128.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
waifus/waifu-161.256.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
waifus/waifu-161.64.png
Normal file
After Width: | Height: | Size: 6.4 KiB |