Back to Oh My Posh

Todoist

website/docs/segments/web/todoist.mdx

29.12.01.7 KB
Original Source

What

Displays your daily tasks from Todoist.

:::caution The segment needs an API Key from your Todoist profile for this to work. :::

Sample Configuration

import Config from "@site/src/components/Config.js";

<Config data={{ type: "todoist", style: "powerline", powerline_symbol: "\uE0B0", foreground: "#ffffff", background: "#FF0000", template: "{{.TaskCount}}", options: { api_key: "<YOUR_API_KEY>", http_timeout: 500, }, }} />

Options

NameTypeDefaultDescription
api_keystring.Your API Key from Todoist
http_timeoutint20The time (in milliseconds, ms) it takes to consider an http request as timed-out. If no segment is shown, try increasing this timeout.

Template (info)

:::note default template

template
 {{ .TaskCount }}

:::

Properties

NameTypeDescription
.TaskCountintthe number of tasks due today