Updated README

This commit is contained in:
sevi-kun 2021-07-16 00:38:12 +02:00
parent 1f9cd06081
commit bc6a8bf6b3
2 changed files with 22 additions and 1 deletions

View File

@ -1 +1,21 @@
# motd
Just a little script and some 256x images for some terminal shine UwU.
## Dependencies
* kitty
* imagemagick
* lolcat
## Installation
Just place this folder somewhere, and add the path of the motd.sh to your .bashrc.
## Limitations
At the moment, it only works in the kitty terminal.
## Troubleshooting
If you want to remove the login message on ssh, you can do so by removing the content of /etc/motd and /etc/update-motd.d/.

View File

@ -2,8 +2,9 @@
WAIFUS=52
CACHEFILE="$HOME/.cache/waifu"
MINTERMWIDTH=200
if [ $(tput cols) -gt 200 ]
if [ $(tput cols) -gt $MINTERMWIDTH ]
then
if [ $TERM == "xterm-kitty" ]
then