Improve event notification
Keep longer (3 minutes). Add icon (using current icon theme). Add category (not used yet).
This commit is contained in:
parent
c263cdc34a
commit
6bf28e577f
|
@ -16,7 +16,13 @@ let
|
||||||
exit 0;
|
exit 0;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
notify-send -u critical "Upcoming Events" "$events"
|
notify-send \
|
||||||
|
--urgency=critical \
|
||||||
|
--expire-time=90000 \
|
||||||
|
--icon="${config.gtk.iconTheme.package}/share/icons/${config.gtk.iconTheme.name}/32/apps/office-calendar.svg" \
|
||||||
|
--category="x-custom.calendar.event" \
|
||||||
|
"Upcoming Events" \
|
||||||
|
"$events"
|
||||||
exit 0
|
exit 0
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue