tart-custom(5)

πŸŽ€ tart-custom β€” the LinuxTaRT template format πŸ’–

okay bestie, so this is the manual for tart-custom(5), aka the LinuxTaRT template format. yes it's a manual page, yes it's about signature templates, and yes we're gonna make it make sense together. let's go ✨

✨ NAME ✨

tart-custom β€” the template format for LinuxTaRT 🌸


πŸ’… DESCRIPTION πŸ’…

so here's the tea: LinuxTaRT can use a user defined template file to generate the signature. you get to pick the name and location of that file in ~/.tartrc, but if you don't say anything it just defaults to this spot:

~/.tart-custom

no cap, that's the whole vibe. you write a template, tart fills in the blanks. πŸ’–


πŸ¦‹ PARAMETERS πŸ¦‹

LinuxTaRT recognizes the following directives in the template and replaces them with the corresponding values β€” this is the part where it gets iconic, so pay attention:

  • %c1 β€” CustomText1 from .tartrc πŸ’œ
  • %c2 β€” CustomText2 from .tartrc πŸ’œ
  • %tg β€” tagline. randomly selected from the tagline database. yes it's giving chaos, that's the point 🎲
  • %hr β€” horizontal line βž–
  • %dt β€” todays date. in the format: Monday, February 25, 2002 πŸ“…
  • %12 β€” current hour, in 12-hour format πŸ•
  • %24 β€” current hour, in 24-hour format πŸ•›
  • %mn β€” current minutes ⏱️
  • %ap β€” AM / PM πŸŒžπŸŒ™
  • %ut β€” system uptime. for RiscOS or systems with the sysinfo function. iykyk πŸ‘‘
  • %ib β€” time in ibeats πŸ₯
  • %vi β€” LinuxTaRT version string 🏷️
  • %% β€” the percent symbol (%) πŸ’―

and literally any other characters in the template? they get copied to the signature as is. no editing, no opinions, just vibes ✨


🌈 EXAMPLES 🌈

here's the moment you've been waiting for. take this template:

LinuxTaRT - The Automatic Random Tagline
%hr
/dev/random says:
%tg

http://mycompany.com
%hr

and it generates the following signature:

LinuxTaRT - The Automatic Random Tagline
-------------------------------------------------------
/dev/random says:
Best way to dispose of the Borg: Give them Windows 3.1.

http://mycompany.com
-------------------------------------------------------

see how %hr turned into that long line of dashes and %tg pulled a whole random tagline out of nowhere? main character energy, fr fr πŸ”₯


πŸ“ FILES πŸ“

  • ~/.custom

🧚 SEE ALSO 🧚


okay that's the whole page bestie, you ate that πŸ’… this little manual was brought to you by Mark Veinot, version 1.0.0 β€” go forth and make your signature cute 🫢

πŸ“¦ where this page comes from