diff options
author | Erich Eckner <git@eckner.net> | 2020-01-23 22:33:59 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-23 22:33:59 +0100 |
commit | 859c9b24cd45bd7a4f82261868af54310583a4f6 (patch) | |
tree | 9156dfa05cc243a9f24c6a8deb00c3cb849ecf6b | |
parent | 1a3e7582eb30aae1cbd3e2f435e30e5f597b195e (diff) | |
download | khal-extras-859c9b24cd45bd7a4f82261868af54310583a4f6.tar.xz |
khal-list: ignore past events
-rwxr-xr-x | khal-list | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,6 +1,14 @@ #!/bin/bash -script -qefc '/usr/bin/khal list today '"$(date +%F -d@$(($(date +%s)+6*24*60*60)))" /dev/null </dev/null \ +date_format='%F %H:%M' + +script -qefc '/usr/bin/khal list '"$( + date +"${date_format}" +)"' '"$( + date +"${date_format}" -d@$(( + $(date +%s)+6*24*60*60 + )) +)" /dev/null </dev/null \ | /usr/src/skripte/ansi-color-to-conky-color/ansi-color-to-conky-color \ | sed ' s@\xe2\x9f\xb3@@g |