All Projects → jacklandrin → OnlySwitch

jacklandrin / OnlySwitch

Licence: MIT license
⚙️ All-in-One menu bar app, hide 💻MacBook Pro's notch, dark mode, AirPods, Shortcuts

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to OnlySwitch

stinsen
Coordinators in SwiftUI. Simple, powerful and elegant.
Stars: ✭ 563 (-56.29%)
Mutual labels:  swiftui, swift5
SimpleToast
SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or MacOS applications in SwiftUI. Because of the flexibility to show any content it is also possible to use the library for showing simple modals.
Stars: ✭ 131 (-89.83%)
Mutual labels:  swiftui, swift5
LongWeekend-iOS
🏖📱 LongWeekend is iOS Application that supports checking long weekends when taking a vacation in Japan
Stars: ✭ 19 (-98.52%)
Mutual labels:  swiftui, swift5
SaveMyEyes
Minimalistic macOS application that helps to take breaks while using the computer
Stars: ✭ 27 (-97.9%)
Mutual labels:  swiftui, menubar-app
GameKitUI.swift
GameKit (GameCenter) for SwiftUI
Stars: ✭ 29 (-97.75%)
Mutual labels:  swiftui, swift5
BottomSheet
A sliding Sheet from the bottom of the Screen with 3 States build with SwiftUI.
Stars: ✭ 597 (-53.65%)
Mutual labels:  swiftui, swift5
StoreHelper
Implementing and testing In-App Purchases with StoreKit2 and StoreHelper in Xcode 13, Swift 5.5, SwiftUI, iOS 15 and macOS 12.
Stars: ✭ 158 (-87.73%)
Mutual labels:  swiftui, swift5
SwiftUIDemo
A demo app showing you how to build a table view and navigation interface with SwiftUI
Stars: ✭ 26 (-97.98%)
Mutual labels:  swiftui, swift5
LunarCalendar
A lightweight macOS App for displaying calendar and time
Stars: ✭ 82 (-93.63%)
Mutual labels:  swiftui, menubar-app
SwiftUI-App
This swiftUI Demo is very simple & easy to understand. This swiftUI demo includes On-boarding screens, login screen, forgot password screen, sign up screen, home & logout.
Stars: ✭ 175 (-86.41%)
Mutual labels:  swiftui, swift5
QuoteKit
A framework to use the free APIs provided by https://quotable.io
Stars: ✭ 17 (-98.68%)
Mutual labels:  swiftui, swift5
SwiftUI-Currency-Converter
Currency Converter project coded by SwiftUI and Swift5
Stars: ✭ 56 (-95.65%)
Mutual labels:  swiftui, swift5
JewelCase
This is the source code for JewelCase, a sample app demonstrating how to use SwiftUI and Firebase together. This slide deck discusses the architecture of the app: https://www.slideshare.net/peterfriese/building-swiftui-apps-with-firebase
Stars: ✭ 42 (-96.74%)
Mutual labels:  swiftui, swift5
DarkModeSwitcher
Simple app for overriding light mode per app on macOS (demo for a blog post)
Stars: ✭ 37 (-97.13%)
Mutual labels:  dark-mode, swiftui
Windows11
💻 Windows 11 in SwiftUI.
Stars: ✭ 177 (-86.26%)
Mutual labels:  swiftui, swift5
Harbour
Docker/Portainer management app for iOS
Stars: ✭ 210 (-83.7%)
Mutual labels:  swiftui, swift5
Bettersegmentedcontrol
An easy to use, customizable replacement for UISegmentedControl & UISwitch.
Stars: ✭ 1,782 (+38.35%)
Mutual labels:  switch, swift5
Eul
🖥️ macOS status monitoring app written in SwiftUI.
Stars: ✭ 6,707 (+420.73%)
Mutual labels:  statusbar, swiftui
iOS-SwiftUI-Firebase-Login-Example
Complete Sign up and Sign in Process for iOS SwiftUI - using Firebase Email and Password Authentication.
Stars: ✭ 37 (-97.13%)
Mutual labels:  swiftui, swift5
aprenda-swift
Uma lista de conteúdos para você aprender Swift
Stars: ✭ 429 (-66.69%)
Mutual labels:  swiftui, swift5

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, Japanese

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

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

@ShogoKoyama for Japanese 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].