OnlySwitch icon indicating copy to clipboard operation
OnlySwitch copied to clipboard

Toggles for `Do Not Disturb` and `Keyboard Backlight`

Open praharshjain opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe. Need toggles for Do Not Disturb and Keyboard Backlight

Describe the solution you'd like If possible, please add toggles for Do Not Disturb and Keyboard Backlight.

For Do Not Disturb toggle, we can have options in the settings to configure the time (indefinite, 1 hour etc). Would be great if it can be configured to auto enable on screen sharing.

For Keyboard Backlight toggle, the brightness level can be configured in settings, and the toggle would just turn it on or off.

Describe alternatives you've considered Have to use options from Control Center which involves multiple clicks.

praharshjain avatar Jun 06 '23 17:06 praharshjain

Thank you for your suggestion. According to the past investigation, I didn't find out a way to implement them in OnlySwitch yet.

jacklandrin avatar Jun 15 '23 19:06 jacklandrin

Ah. that's sad. I am not much familiar with Swift and macOS development but will see if I can find a way.

praharshjain avatar Jun 16 '23 03:06 praharshjain

Ah. that's sad. I am not much familiar with Swift and macOS development but will see if I can find a way.

@praharshjain

  1. Regarding Do not Disturb, many scripts are invalid since Monterey. However, I suppose you make shortcuts for this functionality, and add it into OnlySwitch. I can give you an example: Screenshot 2023-06-18 at 17 58 39 If you think it is a plan, I can create shortcuts for other focus modes and contribute them to OnlySwitch's shortcuts gallery.

  2. Regarding the backlight, I found there isn't a common solution for each MacBook module, I only have three modules on my hand, so can't cover all of them.

jacklandrin avatar Jun 18 '23 16:06 jacklandrin

@jacklandrin this would be great! I did not know OnlySwitch supports Shortcuts. I can do a lot of stuff with this now 🤩

praharshjain avatar Jun 18 '23 21:06 praharshjain

@praharshjain I updated Do Not Disturb shortcut to gallery, you can check it out. WeChat9398eb02266932f7a9267cdbb9edaa09

jacklandrin avatar Jun 19 '23 19:06 jacklandrin

@jacklandrin here is for reference how you can control the keyboard brightness.

https://github.com/rakalex/mac-brightnessctl

rakalex avatar Mar 28 '24 10:03 rakalex