~alexdavid/dotfiles

dotfiles/i3blocks/calendar.sh -rwxr-xr-x 206 bytes
73a15050 — Alex David Update vifminfo ignore path 28 days ago
                                                                                
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

which khal &> /dev/null || exit 0

event="$(khal list --day-format '' --format '{title} @ {start-time}' now eod)"
if [ "$event" != "No events" ]; then
  echo " $event" | head -n1
fi