CARNET.CONF(5)

NAME

carnet.conf - configuration file for carnet(1)

DESCRIPTION

carnet.conf(5) is the configuration file to adjust carnet(1) without cluttering the end user's environment. Its default location is: ~/.config/carnet.conf. The location may be adjusted with CARNET_CONF environment variable. It is sourced as needed upon carnet(1) invocations, therefore allowing some level of shell scripting while being read. It allows setting several variables, which the environment of the user may override. They are:

carnet_dir
    This is the directory in which the carnet is stored.

carnet_editor
    It indicates which text editor to use when editing the carnet.

carnet_lang
    It tells which language will be used when dealing with dates in the carnet. See locale(1) for more details about LANG and its format.

carnet_overtime
    It indicates whether to apply overtime detection. The format is HH:MM. The H format is tolerated for compatibility with older carnet(1) versions.

carnet_pager
    It allows selection of a specific pager when reading-only the carnet.

Environment variables described in carnet(1) manual are going to erase their above lowercase counterparts.

EXAMPLES

  Basic carnet.conf sample:
    carnet_dir="$HOME/doc/carnet/"
    carnet_editor="nano"
    carnet_lang="fr_FR.UTF-8"
    carnet_overtime="07:30"
    carnet_pager="more"

  Using carnet.conf as an escape hatch for scripting:
    echo "debug: loading carnet.conf(5)..." 1>&2
    carnet_dir="$HOME/doc/carnet/"

SEE ALSO
carnet(1), locale(1).