Add usual task states to the default settings.

This commit is contained in:
Sergio Martínez Portela 2022-10-23 21:30:44 +02:00
parent 8d8dcbfdce
commit 20b945aa31
2 changed files with 9 additions and 2 deletions

View File

@ -20,6 +20,13 @@ from org_rw import dump as dump_org
from org_rw import load as load_org
from org_rw import token_list_to_raw
# Set custom states
for state in ("NEXT", "MEETING", "Q", "PAUSED", "SOMETIME", "TRACK", "WAITING"):
org_rw.DEFAULT_TODO_KEYWORDS.append(state)
for state in ("DISCARDED", "VALIDATING"):
org_rw.DEFAULT_DONE_KEYWORDS.append(state)
EXTENSIONS = [
".org",
".org.txt",

View File

@ -155,10 +155,10 @@ h1.title .state {
border-radius: 5px;
}
h1.title .state.state-TODO {
h1.title .state.todo-True {
background-color: rgba(255,0,0,0.5);
}
h1.title .state.state-DONE {
h1.title .state.todo-False {
background-color: rgba(0,255,0,0.25);
}