1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/bash 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 s@\r$@@ '