newmarcel / KeepingYouAwake

Prevents your Mac from going to sleep.

Home Page:https://keepingyouawake.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to disable On/Off notifications

popod opened this issue · comments

commented

On macOS each times I manually enable/disable sleep, a notification appears.. It will be really nice to allow us to disable this.

For now I've disabled all KeepingYouAwake notifications.

Thank you :)

Hi!
This was indeed an intentional decision for this initial implementation. Right now there are only notifications for activation and deactivation, so the system-wide on/off toggle manages only these.
I wanted to avoid redundant checkboxes and therefore only placed the "Notification Preferences…" button for convenience in the General preferences pane.
That's my reasoning behind this feature.

commented

Hi,

Ok, thank you for reply ! I understand your reasoning but I see two cases where (perhaps) a setting could be useful:

  • It could be nice to only view notifications when sleep is automatically disabled after one hour for example, but not when I manually enable/disable sleep. If you think that this is a good idea, I can create a dedicated issue for this feature.
  • If I disable all notifications from macOS settings and that some others kind of notifications are then added to, I could miss them and don't know that they exist.

This is just ideas and I understand that you want to keep the settings as simple as possible.

That's a very good point 👍.
I think it could be useful to separate between automatic and manual activation/deactivation events for notifications. Some people (like me ^^) prefer to have these notifications disabled, but if only automatic events cause notifications I could keep them enabled without them being noisy.

A preference toggle could let the user decide if they want notifications for all activation/deactivation events or just for automatic changes like the timeout or battery threshold.

That's very good feedback, thank you very much! I will try to have this implemented as a toggle in Preferences for the next release 😃.

commented

Hi, thank you for your reply ! I'm happy to help and hope to test this in a near future :)