7 lines
177 B
Bash
Executable File
7 lines
177 B
Bash
Executable File
#!/bin/sh
|
|
calcurse -i "$1"
|
|
#summary assumes ics format
|
|
summary="$(grep "SUMMARY[^:]*:" "$1" | cut --complement -d':' -f1)"
|
|
notify-send "Calendar event added" "$summary"
|
|
rm "$1"
|