summaryrefslogtreecommitdiff
path: root/khal-list
diff options
context:
space:
mode:
Diffstat (limited to 'khal-list')
-rwxr-xr-xkhal-list9
1 files changed, 9 insertions, 0 deletions
diff --git a/khal-list b/khal-list
new file mode 100755
index 0000000..9ad070d
--- /dev/null
+++ b/khal-list
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+script -qefc '/usr/bin/khal list today week' /dev/null </dev/null \
+| sed '
+ s@\x1b\[1m@${color}@g
+ s@\(\x1b\[[0-9]\+m\)\+@ ${color grey}@g
+ s@\xe2\x9f\xb3@...@g
+ s@\r$@@
+'