shoestrap/assets/default/mac-bin/cal_now

8 lines
189 B
Plaintext
Raw Normal View History

#! /bin/bash
# Prints out whatever calendar event is on right now
cal_name=ifij@yelp.com
icalBuddy -li 1 -nc -ea -ic $cal_name -b '' eventsNow | head -n 1 | sed 's/^/ /' | sed 's/$/ |/'