calcurse: notify whole-day events every morning
The calcurse daemon only alerts timed appointments, so birthdays went unnoticed. A daily 09:00 timer, started from xmonad and persistent across suspend, sends today's events through notify-send.
This commit is contained in:
4 files changed
+22
No files matched your search
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Notify today's calcurse events
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=%h/.local/bin/calcurse-today
|
||||
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Notify today's calcurse events every morning
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 09:00
|
||||
Persistent=true
|
||||
@@ -358,6 +358,7 @@ myStartupHook = do
|
||||
spawnOnce "nm-applet"
|
||||
spawnOnce "arch-audit-gtk"
|
||||
spawnOnce "calcurse --daemon"
|
||||
spawnOnce "systemctl --user start calcurse-today.timer"
|
||||
spawnOnce "systemctl --user start dunst"
|
||||
spawnOnce "lxpolkit"
|
||||
spawnOnce "numlockx"
|
||||
|
||||
Reference in new issue
Block a user