summaryrefslogtreecommitdiff
path: root/khal-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-22 11:51:56 +0100
committerErich Eckner <git@eckner.net>2020-01-22 11:51:56 +0100
commitbb8aafa1c7b08f8c4ba6002f516c77839f6f5360 (patch)
treee0ccec1c6c48f1bb56a5b4c5daadf68dffc9bce4 /khal-list
parent4e7d808e94e1ac4cdfa39464ebfd24079f337a94 (diff)
downloadkhal-extras-bb8aafa1c7b08f8c4ba6002f516c77839f6f5360.tar.xz
khal-list: clean up color mess
Diffstat (limited to 'khal-list')
-rwxr-xr-xkhal-list12
1 files changed, 1 insertions, 11 deletions
diff --git a/khal-list b/khal-list
index 6b015b5..588db87 100755
--- a/khal-list
+++ b/khal-list
@@ -1,17 +1,7 @@
#!/bin/bash
script -qefc '/usr/bin/khal list today '"$(date +%F -d@$(($(date +%s)+6*24*60*60)))" /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 \
+| /usr/src/skripte/shell-color-to-conky-color/shell-color-to-conky-color \
| sed '
s@\xe2\x9f\xb3@@g
s@\r$@@