Has my motd gone too far? It loads a random ANSI catgirl from a folder. I use arch btw, server runs minimized Ubuntu Server.
30 comments
You could double the vertical resolution by using half-height blocks (U+2584) and using the background color for the upper half.
Thanks for the suggestion, gonna look into this. I didn't want to use real images even though kitty supports them because I like the retro look and wanted it terminal agnostic for when I use termux on my phone.
I gladly present you this jank.
You might need these to compile:
bash
cargo add image
cargo add clap --features derive
And the jank itself:
Or using sixels. For example foot supports them, and you can display one with chafa.
The real cringe is using passwords instead of keys to login.
That is a fat L
If your key is passwordless and sits on unencrypted storage... It may be a bad practice itself.
Catgirls aren't cringe, but ubuntu is.
It would be cringe if you were using a shared server and set this as a default for everyone or if it was interfering with something. But if you're just minding your own business I could not care less what customisations you put on your terminal as long as it isn't using excessive resources
I can't hate on ANSI art even if I'm not in to what the art is of. 🤷
Nah, I don't think so. I mean, sure, arch is a little cringe, but it's not that bad. Cool terminal, btw.
Never too far, also can you share how you did that?
/etc/update-motd.d/01-random-art don't forget to chmod +x it and put 'art' in /usr/share/motd-art. MOTDs are limited to 80 characters wide, so don't over do it. I made image_to_ansi.py to resize and convert the images.
I considered using kitty's built-in ssh kitten to display real images, but I ended up liking the retro look more.
How??? Asking for a friend...
Okaerinasaimase, goshujinsama
I thought motd could not be scripted hmmm...
/etc/motd no, but it runs the scripts in /etc/update-motd.d/
Never tried it, and IIRC, motd is just a text file - but does that stop you from running a systemd timer to update it every few minutes? Or, if it's your own server and there's only a single user (logging in), put a script in your profile that changes the motd for the next login?
For multiple users: /etc/profile or /etc/bash.bashrc
Some shells (e.g. fish) allow you to easily customize this.
You could double the vertical resolution by using half-height blocks (
U+2584
) and using the background color for the upper half.Thanks for the suggestion, gonna look into this. I didn't want to use real images even though kitty supports them because I like the retro look and wanted it terminal agnostic for when I use termux on my phone.
I gladly present you this jank.
You might need these to compile:
And the jank itself:
Or using sixels. For example foot supports them, and you can display one with chafa.