blob: 9ad070d05f90ed8cc455cd9c9f2aab78ef832a58 (
plain)
1
2
3
4
5
6
7
8
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$@@
'
|