zxzhang-cn / OnlySwitch

All-in-One status bar button, hide MacBook Pro's notch, dark mode, AirPods

Home Page:https://www.jacklandrin.com/2021/12/01/onlyswitch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AppIcon

OnlySwitch

Menubar is smaller, you only need an All-in-One switch.

Download the app

What's the OnlySwitch?

OnlySwitch provides a series of toggle switches to simply your routine work, such as Hiden desktop icons, dark mode and hide ugly notch of new Mackbook Pro. The switches show on your statusbar, you can easily control them. Since Version 1.2, OnlySwitch supports simplified Chinese and German.

Sits in the status bar

Switch list

Switch status
Hide desktop finish
Dark mode finish
Screen Saver finish
Night Shift finish
Autohide Dock finish
Airpods finish
Bluetooth finish
Xcode cache finish
Autohide Menu Bar finish
Show hidden files finish
Radio Station finish
Keep awake finish
Empty trash finish
Empty pasteboard finish
Mute finish
Show user library folder finish
Show extension name finish
Pomodoro timer finish
small launchpad icon finish
Hide notch exist some issues
No disturb mode todo

Since Version 1.3, switches can be added or removed on list.

Welcome to pull request for these

  • support Big Sur
  • support other languges
  • fix bug: radio player crash

If you have other good ideašŸ’”, send E-mail to me.

About hiding new Macbook Notch

The Hide notch switch only shows on build-in display of M1 Pro/Max Macbook Pro. The switch just controls current desktop, not for all work desktops. Now, the Hide notch switch supports dynamic wallpaper, just the processing takes much longer time.

About AirPods Switch

I use classOfDevice(2360344) to check if a bluetooth device is Airpods Pro, but I'm not sure whether other AirPods modules are also 2360344, since I only have two AriPods Pros. If you are using AirPods 1~3, please tell me what the classOfDevice is. Or I can detect the count of battery value to check if AirPods(when count is 3, it's AirPods), like AirPods Battery Monitor For MAC OS.

About Radio Player

Radio Player supports m3u stream since version 1.6, but without sound wave effect. If your Radio Player crashes, please send the crash log and stream url to me.

Can't compile preview by Xcode 13.2.1 on some Macs

I found I can't run the preview of SwiftUI by Xcode 13.2.1 on my M1 Pro Macbook. It'll show an error like this https://developer.apple.com/forums/thread/697037. Meanwhile, the OnlySwitch status bar icon will be missing, including old version app. However it's normal that I run it on my i7 Macbook. I'm not sure whether this is a bug of Xcode. The current workaround is installing back to Xcode 13.2.

Screenshots

Sits in the status bar

They talk about it

About Apple's warning at first open

Some users ask me why masOS shows a warning box below, when they first open Only Switch.

Sits in the status bar

Because the app isn't got from App Store, and I use some private API in project. You can at here to learn more about it. You can follow these steps to use Only Switch.

  1. Open System Preference
  2. Click Security & Privacy
  3. Select General
  4. Click Open Anyway
  5. Finally click Open on the dialog box. Now macOS won't block that you open the app.

Sits in the status bar

Reference

License

MIT

Donate

If you like it, help supporting this app by giving me a cup of tea in order for me to keep coding.

Sits in the status bar

About

All-in-One status bar button, hide MacBook Pro's notch, dark mode, AirPods

https://www.jacklandrin.com/2021/12/01/onlyswitch/

License:MIT License


Languages

Language:Swift 98.7%Language:Shell 0.9%Language:Objective-C 0.4%