1 files changed, 9 insertions(+), 5 deletions(-)

M check.py
M check.py +9 -5
@@ 2,6 2,14 @@ 
 import curses
 from pprint import pformat
 
+TASKS = [
+    'Workrave',
+    'Bril',
+    'Methylfenidaat',
+    'Check diary today',
+    'Check diary 5 days',
+    'Read todo.txt',
+]
 
 def color_pair(id, fg, bg):
     """Combine defining a colour pair and returning its reference"""

          
@@ 68,11 76,7 @@ def view(state, t, styles) -> None:
 
 def main(t, styles):
     state = {
-        'tasks': [
-            (False, 'Workrave'),
-            (False, 'Bril'),
-            (False, 'Methylfenidaat'),
-        ],
+        'tasks': [(False, t) for t in TASKS],
         'current_task_id': 0,
         'running': True,
     }