Code Monkey home page Code Monkey logo

onlyswitch's Introduction

AppIcon

OnlySwitch

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

Install by Homebrew

brew install only-switch

Manually Download

Download the app

What's the OnlySwitch?

OnlySwitch provides a series of toggle switches to simply your routine work, such as Hidden 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.

Sits in the status bar

Shortcuts Gallery

Everyone can contribute macOS Shortcuts for OnlySwitch now. Please read How to contribute for Shortcuts Gallery. The shared Shortcuts will be displayed here:

Sits in the status bar

Switch list

Switch status Switch status
Hide desktop finished Hide notch exist some issues
Dark mode finished Low power mode require password
Screen Saver finished Show Finder pathbar finished
Night Shift finished Mute mic finished
Autohide Dock finished Small launchpad icon finished
Airpods finished Pomodoro timer finished
Bluetooth finished Show extension name finished
Xcode cache finished Show user library folder finished
Autohide Menu Bar finished Mute finished
Show hidden files finished Empty pasteboard finished
Radio Station finished Empty trash finished
Keep awake finished Show Recent Apps on Dock finished
Spotify finished Apple Music finished

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

Shortcuts Actions

Actions status
Get wallpaper image exist some issues
Get wallpaper url finished
is dark mode finished
set dark mode finished

Supported Languages

English, simplified Chinese, German, Croatian, Turkish, Polish, Filipino, Dutch, Italian, Russian, Spanish

Welcome to pull request for these

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

If you have other good idea💡, feel free to 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 AirPods 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, 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.

About Low Power Mode

Low Power Mode uses Terminal commands that require root access, so the app will ask you to enter password on every toggle.

About Shortcuts

Shortcuts is a powerful iOS app which can help people make fantastic 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 Shortcuts 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)

Sits in the status bar

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 before version 2.1.3

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.

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 Preferences
  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

Contributors

@C0d3Br3aker for German translation

@milotype for Croatian translation

@berkbatuhans for Turkish translation

@wrngwrld for volume slider of radio player

@kpacholak for Polish translation

Alex for Dutch translation

Rosel for Filipino translation

@bellaposa for Italian translation

@kirillyakopov for Russian translation

@kant for syntax issue and Spanish translation

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

onlyswitch's People

Contributors

jacklandrin avatar kant avatar wrngwrld avatar kpacholak avatar bellaposa avatar c0d3br3aker avatar milotype avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.