Todoist
Traduction Bêta Non Officielle
Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →
Description
Affiche vos tâches quotidiennes depuis Todoist.
attention
Ce segment nécessite une clé API provenant de votre profil Todoist pour fonctionner.
Exemple de configuration
- json
- yaml
- toml
{
"type": "todoist",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#FF0000",
"template": "{{.TaskCount}}",
"options": {
"api_key": "<YOUR_API_KEY>",
"http_timeout": 500
}
}
type: todoist
style: powerline
powerline_symbol:
foreground: "#ffffff"
background: "#FF0000"
template: "{{.TaskCount}}"
options:
api_key: <YOUR_API_KEY>
http_timeout: 500
type = "todoist"
style = "powerline"
powerline_symbol = ""
foreground = "#ffffff"
background = "#FF0000"
template = "{{.TaskCount}}"
[options]
api_key = "<YOUR_API_KEY>"
http_timeout = 500
Options
| Name | Type | Default | Description |
|---|---|---|---|
api_key | string | . | Your API Key from Todoist |
http_timeout | int | 20 | The time (in milliseconds, ms) it takes to consider an http request as timed-out. If no segment is shown, try increasing this timeout. |
Modèle (info)
modèle par défaut
{{ .TaskCount }}
Propriétés
| Name | Type | Description |
|---|---|---|
.TaskCount | int | the number of tasks due today |