diff options
Diffstat (limited to 'khal-list')
-rwxr-xr-x | khal-list | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1,9 +1,18 @@ #!/bin/bash script -qefc '/usr/bin/khal list today week' /dev/null </dev/null \ +| if hostname | grep -qxF desk.home.eckner.net; then + sed ' + s@\x1b\[1m@${color #303030}@g + s@\(\x1b\[[0-9]\+m\)\+@ ${color}@g + ' +else + sed ' + s@\x1b\[1m@${color}@g + s@\(\x1b\[[0-9]\+m\)\+@ ${color grey}@g + ' +fi \ | sed ' - s@\x1b\[1m@${color}@g - s@\(\x1b\[[0-9]\+m\)\+@ ${color grey}@g - s@\xe2\x9f\xb3@...@g + s@\xe2\x9f\xb3@@g s@\r$@@ ' |