A simple menubar app can give you quick access to some macOS functions

Overview

OneClick



This simple menubar app can give you quick access to some macOS functions. It only emulates terminal commands from a GUI

  • macOS 12.x (Monterey)
  • Intel app
  • Apple Silicon app

Functions

Hide/Show desktop

Commands:

  • defaults write com.apple.finder CreateDesktop false ; killall Finder
  • defaults write com.apple.finder CreateDesktop true ; killall Finder

Hide/Show hidden files/folders

Commands:

  • defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
  • defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

Enable/disable power saving

Commands:

  • osascript -e 'do shell script \"pmset -a lowpowermode 1\" with administrator privileges'
  • osascript -e 'do shell script \"pmset -a lowpowermode 0\" with administrator privileges'
  • these commands need root access (the app will ask for administrator password or touchID)

Caffeinate

Commands:

  • caffeinate
  • killall caffeinate



You might also like...
Port of BetterPS to Apple WebKit for macOS.
Port of BetterPS to Apple WebKit for macOS.

BetterPS-Safari Port of BetterPS to Apple WebKit for macOS. Note: .xcodeproj file will not be uploaded for privacy reasons. Please initiate a new proj

Compatible backports of commonly used type properties for `URL` that are only available from iOS 16.0+ / macOS 13.0+ / tvOS 16.0+ / watchOS 9.0+.

URLCompatibilityKit URLCompatibilityKit is a lightweight Swift package that adds compatible backports of commonly used type properties, type and insta

This a simple swiftui app where i used mvvm architecture, coredata swiftui and so on..
This a simple swiftui app where i used mvvm architecture, coredata swiftui and so on..

SwiftUI MVVM COREDATA NOTE APP This a simple swiftui app where i used mvvm architecture, coredata swiftui and so on... #FEATURES SWIFTUI MVVM COREDATA

A simple solution to decrease build time and more cleaner codebase

Swift Optional Optimizer A simple Protocol Oriented solution to decrease build time and more cleaner code base. Are you tired of using ?? in your code

A simple class that wraps the process of saving or loading a struct or class into a single file

EZFile This is a simple class that wraps the process of saving or loading a stru

Create a simple MVVM-C iOS architecture with Swift for starters

iOS-Architecture-MVVM MVVM+Coordinators IOS Architecture Tutorial By Bobby Pehtr

PowerfulCombine - A simple suite of Combine helpers
PowerfulCombine - A simple suite of Combine helpers

A package with powerful combine extensions. 🤟 Motivation The Combine framework

his is my second app, made right after the I am Rich app
his is my second app, made right after the I am Rich app

I-am-Poop 💩 Hello everyone! This is my second app, made right after the I am Rich app, to better fixate the concepts I learned during this lesson, wh

Demonstration of how to integrate AppleScript/Cocoa scripting into a Catalyst app
Demonstration of how to integrate AppleScript/Cocoa scripting into a Catalyst app

CatalystAppleScript Trivial demonstration showing how to build support for AppleScript into a Catalyst app. Showcases multiple commands and variables

Comments
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 34% 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /imgs/darkThemes/4.png | 709.79kb | 346.82kb | 51.14% | | /OneClick/Assets.xcassets/bg5_light.imageset/sincerely-media-qlcVpZqzcEc-unsplash.jpg | 206.60kb | 109.85kb | 46.83% | | /imgs/darkThemes/2.png | 920.99kb | 497.46kb | 45.99% | | /imgs/lightThemes/6.png | 829.86kb | 451.76kb | 45.56% | | /OneClick/Assets.xcassets/bg3_dark.imageset/luke-chesser-eICUFSeirc0-unsplash.jpg | 192.39kb | 108.45kb | 43.63% | | /OneClick/Assets.xcassets/bg1_light.imageset/alessio-soggetti-cfKC0UOZHJo-unsplash.jpg | 191.95kb | 108.22kb | 43.62% | | /imgs/lightThemes/5.png | 544.36kb | 310.64kb | 42.94% | | /imgs/darkThemes/3.png | 731.45kb | 430.22kb | 41.18% | | /imgs/darkThemes/5.png | 575.63kb | 341.89kb | 40.61% | | /imgs/darkThemes/1.png | 803.81kb | 486.24kb | 39.51% | | /imgs/lightThemes/3.png | 893.45kb | 544.61kb | 39.04% | | /imgs/darkThemes/6.png | 711.86kb | 434.33kb | 38.99% | | /imgs/customTogglesExample.png | 2,707.07kb | 1,655.02kb | 38.86% | | /imgs/lightThemes/2.png | 475.93kb | 295.50kb | 37.91% | | /imgs/customToggles.png | 535.74kb | 337.36kb | 37.03% | | /imgs/Edit.png | 384.27kb | 242.28kb | 36.95% | | /imgs/lightThemes/4.png | 688.26kb | 435.56kb | 36.72% | | /imgs/General.png | 260.92kb | 167.73kb | 35.71% | | /OneClick/Assets.xcassets/bg3_light.imageset/jake-weirick-BN42RzH07vI-unsplash.jpg | 408.53kb | 262.76kb | 35.68% | | /imgs/lightThemes/1.png | 695.41kb | 449.68kb | 35.34% | | /OneClick/Assets.xcassets/bg6_light.imageset/pawel-czerwinski-F56Y7dgrAkc-unsplash.jpg | 586.85kb | 387.87kb | 33.91% | | /OneClick/Assets.xcassets/AppIcon.appiconset/2x_256-1.png | 36.31kb | 24.01kb | 33.88% | | /OneClick/Assets.xcassets/AppIcon.appiconset/2x_256.png | 36.31kb | 24.01kb | 33.88% | | /OneClick/Assets.xcassets/bg1_dark.imageset/pawel-czerwinski-_tGH9C9JCF8-unsplash.jpg | 724.39kb | 502.80kb | 30.59% | | /OneClick/Assets.xcassets/bg4_dark.imageset/pawel-czerwinski-ypqyuASFNps-unsplash.jpg | 342.36kb | 241.64kb | 29.42% | | /OneClick/Assets.xcassets/bg6_dark.imageset/benjamin-sow-5hQMCo5qtSs-unsplash.jpg | 391.40kb | 278.95kb | 28.73% | | /desktop.png | 1,947.85kb | 1,421.31kb | 27.03% | | /imgs/im2.png | 1,392.95kb | 1,018.32kb | 26.89% | | /imgs/im1.png | 1,408.79kb | 1,037.59kb | 26.35% | | /screen.png | 303.90kb | 229.74kb | 24.40% | | /OneClick/Assets.xcassets/bg2_dark.imageset/pawel-czerwinski-e6GqM-a7O20-unsplash.jpg | 910.55kb | 698.60kb | 23.28% | | /OneClick/Assets.xcassets/AppIcon.appiconset/1x_512 -1.png | 44.91kb | 36.44kb | 18.87% | | /OneClick/Assets.xcassets/AppIcon.appiconset/1x_512 .png | 44.91kb | 36.44kb | 18.87% | | /OneClick/Assets.xcassets/bg5_dark.imageset/darya-jum-uEtgnJFwujA-unsplash.jpg | 828.96kb | 677.00kb | 18.33% | | /OneClick/Assets.xcassets/bg4_light.imageset/hermansyah-7uXn7nudorc-unsplash.jpg | 428.51kb | 354.45kb | 17.28% | | /OneClick/Assets.xcassets/AppIcon.appiconset/2x_1024.png | 115.52kb | 100.03kb | 13.41% | | /128x128logo.png | 8.71kb | 8.16kb | 6.30% | | /OneClick/Assets.xcassets/AppIcon.appiconset/1x_128 .png | 8.71kb | 8.16kb | 6.30% | | /OneClick/Assets.xcassets/bg2_light.imageset/abdullah-ahmad-qE5K_972f48-unsplash.jpg | 12.05kb | 11.89kb | 1.35% | | | | | | | Total : | 23,042.19kb | 15,113.77kb | 34.41% |


    📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 0
  • Privacy mode doesn't work

    Privacy mode doesn't work

    Describe the bug The "privacy mode" switch doesn't do anything

    To Reproduce Steps to reproduce the behavior:

    1. Open OneClick menubar app
    2. Click on 'Privacy Mode' switch
    3. See error

    Expected behavior Hide desktop, dock and menubar

    bug good first issue 
    opened by mik3sw 0
Releases(2.2)
Owner
mik3
Student, made in Italy. Useless software only ;)
mik3
Sweet-swift - Make Swift Sweet by Gracefully Introducing Syntactic Sugar, Helper Functions and Common Utilities

Sweet Swift Make Swift Sweet by Gracefully Introducing Syntactic Sugar, Helper F

Yanzhan Yang 2 Feb 6, 2022
Swift Client library to interact with Supabase Functions.

functions-swift Swift Client library to interact with Supabase Functions. Usage let client = FunctionsClient( url: URL(string: "https://project-id.s

Supabase Community 3 Dec 1, 2022
ChidoriMenu - An easy way to add menus visually similar to iOS 14's Pull Down and Context Menus but with some added benefits

ChidoriMenu ?? ⚡️ An easy way to add popover menus visually similar to the Conte

Christian Selig 152 Dec 12, 2022
A blog project where you can write your articles, upload photos, categorize them, and add them to your favorites

A blog project where you can write your articles, upload photos, categorize them, and add them to your favorites. The aim of the project is to learn the use of Core Data.

Cem 7 Mar 21, 2022
You can touch My Swift, MapKit, UX skills! :D

What is it? ???? It's a pet project which has been developed as a code challenge. It's written purely in Swift without using 3rd party frameworks. Wha

iMamad 3 Jul 15, 2022
A UIKit based geotagging app that let's you save places you have visited with images.

My Locations Getting Started Using Core Location A CLLocationManager() performs the location updating It sends its updates to its delegate, so make su

Xiao Quan 全笑 0 Jan 4, 2022
A fitness application using swift which can help user to hold a better sleep

Natcap - Good for your sleep This is a fitness application which can help user to hold a better sleep which depends on their previous sleeping habit.

Mill 0 Dec 13, 2021
Have you ever wanted to just throw your optional like a table?

JebStolem Have you ever wanted to just throw your optional like a table? Or mayb

Piotr Szadkowski 1 Feb 23, 2022
This is an iOS Safari Extension Sample that adds a "Develop menu" to Safari on iOS to allow you to analyze websites.

Develop Menu for Mobile Safari This is an iOS Safari Extension that adds a "Develop menu" to Safari on iOS to allow you to analyze websites. This is a

Watanabe Toshinori 1 Dec 7, 2022
FinderEx - MacOS Finder Sync Extension to Allow Adding Custom Actions

FinderEx MacOS Finder Sync Extension to Allow Adding Custom Actions Description

null 4 Jul 21, 2022