Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.watson.enable

Whether to enable watson, a wonderful CLI to track your time.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.watson.enableBashIntegration

Whether to enable Bash integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.watson.enableFishIntegration

Whether to enable Fish integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.watson.enableZshIntegration

Whether to enable Zsh integration.

Type: boolean

Default:

Example:

false

Declared by:

programs.watson.package

The watson package to use.

Type: package

Default:

pkgs.watson

Declared by:

programs.watson.settings

Configuration written to $XDG_CONFIG_HOME/watson/config on Linux or $HOME/Library/Application Support/watson/config on Darwin.

See https://github.com/TailorDev/Watson/blob/master/docs/user-guide/configuration.md for an example configuration.

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  backend = {
    url = "https://api.crick.fr";
    token = "yourapitoken";
  };

  options = {
    stop_on_start = true;
    stop_on_restart = false;
    date_format = "%Y.%m.%d";
    time_format = "%H:%M:%S%z";
    week_start = "monday";
    log_current = false;
    pager = true;
    report_current = false;
    reverse_log = true;
  };
}

Declared by: