Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cronjob general alarms #17

Open
jessebot opened this issue Jun 30, 2022 · 1 comment
Open

cronjob general alarms #17

jessebot opened this issue Jun 30, 2022 · 1 comment
Assignees
Labels
⏰ Cron enhancement New feature or request

Comments

@jessebot
Copy link
Owner

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 jessebot self-assigned this Jun 30, 2022
@jessebot jessebot added the enhancement New feature or request label Jun 30, 2022
@jessebot
Copy link
Owner Author

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏰ Cron enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant