Found calcurse notification scripits, yet to use

This commit is contained in:
z3rOR0ne 2022-09-05 04:02:39 -07:00
parent 5657acd06d
commit 58897644df
4 changed files with 166 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# Calcurse Notifier
Simple bash script that sends notifications X minutes before events saved in calcurse. Will also send notifications X minutes before midnight for daily events. In addition, it has an explicit line for initiating vibration/sound with feedbackd on devices that support that.
Simply add something like the following to your crontab to enable. This line will notify you about events 30 minutes before they happen by running this script every two minutes.
```
*/2 * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus; /path/to/calendar_appointment_notify.sh 30 2
```
Dependencies:
`libnotify`
`calcurse`
`bc` (shell calculator) and `date`, which should be present on almost every UNIX-like system
optionally `feedbackd`