ZENNIN(1)

NAME
zennin - Print quotes on your terminal.

SYNOPSIS
zennin [options]...

DESCRIPTION
Zennin is a simple python program that prints random quotes on the terminal. It adds a touch of inspiration or amusement to your daily console experience. The quotes are obtained from a file named Quote Book, for more information about this file please check the Quote Book section in this manual

OPTIONS

-j POSITION, --justify POSITION
    Justification position. Accepted values are left, center and right. If this option is ommited the default justification position is center

-f FILE, --file FILE
    Use a specific Quote Book in a location diferent than the default one.

-p, --print NUMBER
    Print a specific quote from the Quote Book

-n, --number
    Prints the ammount of quotes in the Quote Book.

FILES

/usr/share/doc/zennin/quotebook.txt
    Default Quote Book file. If user config file doesn't exist, zennin will use this file.

$HOME/.config/zennin/quotebook.txt
    Per user Quote Book.

QUOTE BOOK
The collection of quotes used by zennin is stored in a file known as the Quote Book. By default, the program looks for the Quote Book at $HOME/.config/zennin/quotebook.txt. If this file doesn't exist, zennin falls back to using a default quote book located at /usr/share/doc/zennin/quotebook.txt. Feel free to use the default Quote Book as a reference to create your own personalized collection. The syntax of the Quote Book is similar to python docstrings, with three single quotes (''') used as delimiters for the beginning and the end of each quote. Here's an example of the sintaxis of the Quote Book.

    ''' This is the first Quote. ''' ''' This is the second Quote You can have empty lines inside the quote '''

INTENDED USE
To use it as intended just include one of the following lines in the configuration file of your shell (bashrc, zshrc, etc).

Text in the center of the terminal
    zennin

Text to the for right
    zennin --justify right

Text to the far left
    zennin --justify left

BUGS
If the terminal size is changed after printing a quote the text will not show properly.

AUTHOR
Marcelo Galván <marcelo_galvan@protonmail.com>