Latin, literally 'remember (that you have) to die'
memento-mori
is a small Haskell library and executable that helps
one be more cognizant of life (and death). It does this by displaying
your age as a rational number instead of an integer.
Seeing this number increase daily, instead of yearly (as one would do on traditional birthdays) may motivate you to better take advantage of what limited, valuable time you have left to live.
So, for example, instead of being 50 years old 180 days after your birthday,
you'd be approximately 50.5
years old.
Inspired by this Emacs version.
This project uses stack.
stack setup
stack build
stack install
After building:
memento-mori yyyy mm dd
e.g.
memento-mori 1950 10 20
In the future, this code will be made into an xmobar plugin.
For now, you can add the following configuration line to ~/.xmobarrc
under the commands
block:
-- Memento Mori
, Run Com "memento-mori" ["1955", "10", "20"] "memento" 0
Or use ComX
, etc.