summaryrefslogtreecommitdiff
path: root/khal-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-21 14:17:22 +0100
committerErich Eckner <git@eckner.net>2020-01-21 14:17:22 +0100
commit338cfac97dee09619c18a262fdf517d6b1cf6e01 (patch)
tree8ebed0578a927ec2c78678e9814f6fbda2892cb8 /khal-list
downloadkhal-extras-338cfac97dee09619c18a262fdf517d6b1cf6e01.tar.xz
khal-list neu
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$@@
+'