show summary more reliably
This commit is contained in:
parent
5b420c6330
commit
778f2a26dc
6
.local/bin/tools/calendaradd
Executable file
6
.local/bin/tools/calendaradd
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
calcurse -i "$1"
|
||||
#summary assumes ics format
|
||||
summary="$(grep "SUMMARY[^:]*:" "$1" | cut -d':' -f2)"
|
||||
notify-send "Calendar event added" "$summary"
|
||||
rm "$1"
|
Loading…
Reference in New Issue
Block a user