# Servers to auto-connect
servers:
    - addr: chat.freenode.net
      port: 6697
      tls: true
      realname: eoli3n
      nicks:
        - eoli3n

      # Channels to automatically join
      join:
          - '#archlinux-fr'
          - '#archlinux'
          - '#gamedev-fr'
          - '#nixos'

      # SASL authentication
      sasl:
        username: 'eoli3n'
        password: '{{ sasl_password }}'

    - addr: irc.oftc.net
      port: 6697
      tls: true
      realname: eoli3n
      nicks:
        - eoli3n

# Defaults used when connecting to servers via the /connect command
defaults:
    nicks:
      - eoli3n
    realname: eoli3n
    join: []
    tls: false

# Where to put log files
log_dir: '/home/{{ user }}/.tiny_logs'

# How to show timestamps. Should be a valid strftime() format string. Run `man
# strftime` in your shell for strftime format specification.
timestamp_format: '%H:%M'

# Color theme based on 256 colors. Colors can be defined as color indices
# (0-255) or with their names.
#
# Accepted color names are:
# default (0), black (0), maroon (1), green (2), olive (3), navy (4),
# purple (5), teal (6), silver (7), gray (8), red (9), lime (10),
# yellow (11), blue (12), magenta (13), cyan (14), white (15)
#
# Attributes can be combined (e.g [bold, underline]), and valid values are bold
# and underline
colors:
    nick: [ 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14 ]

    clear:
        fg: default
        bg: default

    user_msg:
        fg: black
        bg: default

    err_msg:
        fg: black
        bg: maroon
        attrs: [bold]

    topic:
        fg: cyan
        bg: default
        attrs: [bold]

    cursor:
        fg: black
        bg: default

    join:
        fg: lime
        bg: default
        attrs: [bold]

    part:
        fg: maroon
        bg: default
        attrs: [bold]

    nick_change:
        fg: lime
        bg: default
        attrs: [bold]

    faded:
        fg: 242
        bg: default

    exit_dialogue:
        fg: default
        bg: navy

    highlight:
        fg: red
        bg: default
        attrs: [bold]

    completion:
        fg: 84
        bg: default

    timestamp:
        fg: 242
        bg: default

    tab_active:
        fg: default
        bg: default
        attrs: [bold]

    tab_normal:
        fg: gray
        bg: default

    tab_new_msg:
        fg: purple
        bg: default

    tab_highlight:
        fg: red
        bg: default
        attrs: [bold]
