cronjob general alarms #17

Open
opened 2022-06-30 19:12:16 +00:00 by jessebot · 1 comment
jessebot commented 2022-06-30 19:12:16 +00:00 (Migrated from github.com)

tidy up the existing alarms in cron/ and make them configurable via the onboardme script.

For script, default install lunch, bedtime, and break alarms.

--cron-alarms should default to default, but should take ['work','none']

--muted-alarms should default to false, but should action=store_true

Add a part of the cronjob script that checks for ~/.do-not-disturb file, and will automatically set alarms to silent.

tidy up the existing alarms in `cron/` and make them configurable via the onboardme script. For script, default install lunch, bedtime, and break alarms. `--cron-alarms` should default to `default`, but should take `['work','none']` `--muted-alarms` should default to `false`, but should `action=store_true` Add a part of the cronjob script that checks for `~/.do-not-disturb` file, and will automatically set alarms to silent.
jessebot commented 2022-12-25 15:06:26 +00:00 (Migrated from github.com)

I don't like my original suggestion anymore now that I know about the XDG Base Directory Spec. I will instead be putting these in $XDG_CONFIG_HOME/onboardme/cron (with XDG_CONFIG_HOME defaulting to ~/.config if it's not set).

I don't like my original suggestion anymore now that I know about the XDG Base Directory Spec. I will instead be putting these in `$XDG_CONFIG_HOME/onboardme/cron` (with `XDG_CONFIG_HOME` defaulting to `~/.config` if it's not set).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jessebot/onboardme#17
No description provided.