mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Add motdmaker
This commit is contained in:
parent
2d93bfea06
commit
d520e76230
20
.local/bin/motdmaker
Executable file
20
.local/bin/motdmaker
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/zsh
|
||||
|
||||
motd="$HOME/.cache/motd"
|
||||
touch $motd
|
||||
|
||||
toilet -f slant -F rainbow "$(uname -n)" | sed 's/^.*$/ &/' > $motd
|
||||
|
||||
echo " Local time:\t\t\t`date`" >> $motd
|
||||
echo " Running\t\t\t`uname -o` `uname -mr`" >> $motd
|
||||
echo " Disk space remaining:\t`df -h | grep '% /$' | awk '{print $4}'` (`df -h | grep '% /$' | awk '{print $5}'` used)" >> $motd
|
||||
|
||||
echo >> $motd
|
||||
cat /opt/coloredline >> $motd
|
||||
echo >> $motd
|
||||
|
||||
pyquotes >> $motd
|
||||
|
||||
echo >> $motd
|
||||
cat /opt/coloredline >> $motd
|
||||
echo -e "\n n-j0y ur stay, `whoami`\n" >> $motd
|
||||
Loading…
x
Reference in New Issue
Block a user