Joined: 30 Jan 2005
Location: Klamath Falls, Jefferson, USA, North America, Midgarth
|Posted: Mon Dec 19, 2005 8:45 am Post subject: [HOWTO] Simple dynamic signature generator with mutt
|I've always perfered dynamic signatures, and I used to run a cron script to create a new one once per minute. but that was a waste of my cpu, so I've been looking for a better solution. Of course, if you want it, best way is to build it yourself.
So first I created a script named sigmaker
alias kernelver="uname -r"
echo "Posted from $(hostname) at $(dnsdomainname) on $(date) running Gentoo Linux, Kernel $(kernelver)" > .signature
uptime >> .signature
fortune >> .signature
echo "nqs at nqs dot is-a-geek dot net" >> .signature
I then added this to my .muttrc:
|set editor=~/sigmaker |
don't forget to run chmod 0700 on the script.
every time you start or reply to a new masil in mutt, a different .sig will be generated.
These opinions are mine, mine I say! Piss off and get your own.
As I see it -- An irregular blog, Improved with new location
To delete French language packs from system use 'sudo rm -fr /'