Menubar is smaller, you only need an All-in-One switch.
brew install only-switch
OnlySwitch provides a series of toggle switches to simply your routine work, such as Hiden desktop icons, dark mode and hide notch of new Macbook Pro. The switches show on your statusbar, you can control them effortlessly. Switch and Shortcuts items can be customized (remove/add or sort) to show on the list.
Since Version 1.7, Shortcuts can be imported in OnlySwitch.
Since Version 2.0, supports keyboard shortcuts. You can control your all switches and Shortcuts by keyboard.
Everyone can contribute macOS Shortcuts for OnlySwitch now. Please read How to contribute for Shortcuts Gallery. The shared Shortcuts will be displayed here:
Switch | status | Switch | status |
---|---|---|---|
Hide desktop | finish | Hide notch | exist some issues |
Dark mode | finish | Low power mode | require password |
Screen Saver | finish | Show Finder pathbar | finish |
Night Shift | finish | Mute mic | finish |
Autohide Dock | finish | Small launchpad icon | finish |
Airpods | finish | Pomodoro timer | finish |
Bluetooth | finish | Show extension name | finish |
Xcode cache | finish | Show user library folder | finish |
Autohide Menu Bar | finish | Mute | finish |
Show hidden files | finish | Empty pasteboard | finish |
Radio Station | finish | Empty trash | finish |
Keep awake | finish | Show Recent Apps on Dock | finish |
Since Version 1.3, switches can be added or removed on list.
Actions | status |
---|---|
Get wallpaper image | exist some issues |
Get wallpaper url | finish |
is dark mode | finish |
set dark mode | finish |
English, simplified Chinese, German, Croatian, Turkish, Polish
- support Big Sur
- support other languages
- fix bug: radio player crash
If you have other good idea💡, send E-mail to me.
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.
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.
Radio Player supports m3u, acc stream, but without sound wave effect. If your Radio Player crashes, please send the crash log and stream url to me. You can close sound wave effect on Radio setting, and that player is AVPlayer, more stable.
Low Power Mode uses Terminal commands that require root access, so the app will ask you to enter password on every toggle.
Shortcuts is a powerful iOS app which can help people make fantasitic automation functions. It comes to macOS in Monterey as well. Many users eager OnlySwitch has more customizable features, and one good news is that the app supports Shortcuts display since Version 1.7. More menubar space therefore is saved. In the next versions, OnlySwitch will also provide more Shortcuts actions to impove user experience.
Since Version 2.0, keyboard shortcuts can be set for Shortcuts.
OnlySwitch offers some Shortcus actions since Version 1.8. For example, you can config your own dark mode switch. (Set Appearance action by Shortcuts can also set dark mode, but the appearance status cannot be detected. So, OnlySwitch provides a set dark mode action)
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.
- German Article - itopnews.de https://www.itopnews.de/?s=OnlySwitch
- Ifun.de https://www.ifun.de/suche/OnlySwitch
- appgefahren.de https://www.appgefahren.de/onlyswitch-kleines-tool-mit-wichtigen-aktionen-fuer-die-mac-menueleiste-312135.html
- CASCHYS BLOG https://stadt-bremerhaven.de/only-switch-fuer-macos-schnellzugriff-auf-einige-systemoptionen/
- softpedia https://mac.softpedia.com/get/System-Utilities/OnlySwitch.shtml
- macupdate https://www.macupdate.com/app/mac/63719/onlyswitch
- v1tx https://www.v1tx.com/post/onlyswitch/
- OSCHINA https://www.oschina.net/p/onlyswitch
- Macken https://www.macken.xyz/2021/12/gratis-ar-gott-alla-installningar-pa-ett-stalle-onlyswitch/
- AAPL Ch https://applech2.com/archives/20220111-onlyswitch-all-in-one-status-bar-button-for-mac.html
- appsofter https://appsofter.com/download/1265.html
Note: OnlySwitch has been notarized by Apple since version 2.1.3, so the warning box won't show in the new version.
Some users ask me why masOS shows a warning box below, when they first open Only Switch.
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.
- Open System Preference
- Click Security & Privacy
- Select General
- Click Open Anyway
- Finally click Open on the dialog box. Now macOS won't block that you open the app.
- NightShift switch refer to Nocturnal
- LaunchAtLogin
- AirPods Battery refer to AirPods Battery Monitor For MAC OS
- Dynamic Wallpaper processing refer to https://itnext.io/macos-mojave-dynamic-wallpaper-fd26b0698223 and wallpapper
- AlertToast
- AudioStreamer modified for live streaming
- AudioSpectrum modified for Appkit
- Alamofire
- Sound Source: mixkit
- KeyboardShortcuts
@C0d3Br3aker for German translation
@milotype for Croatian translation
@berkbatuhans for Turkish translation
@wrngwrld for volume slider of radio player
@kpacholak for Polish translation
MIT
If you like it, help supporting this app by giving me a cup of tea in order for me to keep coding.