{"id":13753874,"url":"https://github.com/mik3sw/OneClick","last_synced_at":"2025-05-09T21:36:09.184Z","repository":{"id":42619851,"uuid":"439405866","full_name":"mik3sw/OneClick","owner":"mik3sw","description":"macOS Utility menubar app 🚀","archived":false,"fork":false,"pushed_at":"2022-10-31T10:28:11.000Z","size":81620,"stargazers_count":45,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-04T09:06:01.419Z","etag":null,"topics":["caffeinate","colors","hidden-files","mac","macos","powersaving","preferences","swift","swiftui","themes"],"latest_commit_sha":null,"homepage":"https://mik3sw.github.io/OneClick/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mik3sw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-17T17:09:57.000Z","updated_at":"2024-07-26T10:56:23.000Z","dependencies_parsed_at":"2023-01-20T04:34:25.357Z","dependency_job_id":null,"html_url":"https://github.com/mik3sw/OneClick","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mik3sw%2FOneClick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mik3sw%2FOneClick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mik3sw%2FOneClick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mik3sw%2FOneClick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mik3sw","download_url":"https://codeload.github.com/mik3sw/OneClick/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224884615,"owners_count":17386121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caffeinate","colors","hidden-files","mac","macos","powersaving","preferences","swift","swiftui","themes"],"created_at":"2024-08-03T09:01:32.406Z","updated_at":"2024-11-16T06:31:00.074Z","avatar_url":"https://github.com/mik3sw.png","language":"Swift","funding_links":[],"categories":["Utilities"],"sub_categories":["Settings"],"readme":"# OneClick\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"128x128logo.png\"\u003e\n  \u003c/div\u003e\n\u003cbr\u003e\u003cbr\u003e\n\n![](imgs/im1.png)\n\n![](https://forthebadge.com/images/badges/made-with-swift.svg)\n![](https://forthebadge.com/images/badges/open-source.svg)\n\nOneClick can give you quick access to some macOS functions from MenuBar!\n\n* **macOS 12.x** (Monterey)\n* **Intel app** (only 1.4 and before)\n* **Apple Silicon app** (all versions)\n\n## 💾 Downloads \n[![Github All Releases](https://img.shields.io/github/downloads/mik3sw/OneClick/total.svg?style=for-the-badge\u0026logo=github\u0026color=blueviolet)]() \n\n**Support me with a star!** ⭐️ \n\n**Not fully compatible with macOS Ventura 13.0**\n\n* [Releases](https://github.com/mik3sw/OneClick/releases)\n* HomeBrew soon ...\n\n\u003e OneClick 2.x is currently in beta i need to fix some errors and bugs\n\n\u003e This is a hobbyist app\n\n\n\n\u003cdetails\u003e\n\u003csummary\u003eShow functions\u003c/summary\u003e\n\u003cbr\u003e\n\n### Hide/Show desktop\nCommands:\n\n* ```defaults write com.apple.finder CreateDesktop false ; killall Finder```\n* ```defaults write com.apple.finder CreateDesktop true ; killall Finder```\n\n\n### Hide/Show hidden files/folders\nCommands:\n\n* ```defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder```\n* ```defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder```\n\n### Hide/Show dock\nCommands:\n\n* ```osascript -e 'tell application \\\"System Events\\\" to set the autohide of the dock preferences to true'```\n* ```osascript -e 'tell application \\\"System Events\\\" to set the autohide of the dock preferences to false'```\n\n### Enable/disable power saving\nCommands:\n\n* ```osascript -e 'do shell script \\\"pmset -a lowpowermode 1\\\" with administrator privileges'```\n* ```osascript -e 'do shell script \\\"pmset -a lowpowermode 0\\\" with administrator privileges'```\n* these commands need root access (the app will ask for administrator password or touchID)\n\n### Enable/disable dark mode\nCommands:\n\n* ```osascript -e 'tell application \\\"System Events\\\" to tell appearance preferences to set dark mode to true'```\n* ```osascript -e 'tell application \\\"System Events\\\" to tell appearance preferences to set dark mode to false'```\n\n\n### Caffeinate\nCommands:\n\n* ```caffeinate```\n* ```killall caffeinate```\n\n\n### Empty trash\nCommand:\n\n* ```osascript -e 'tell application \\\"Finder\\\" to empty trash'```\n\n### Clear memory\nCommand:\n\n* ```osascript -e 'do shell script \\\"purge\\\" with administrator privileges'```\n\n### Take screenshot\nCommand:\n\n* ```screencapture -T 3 -t png -P Desktop/screenshot.png```\n\n\u003c/details\u003e\n\n\n\n## ⚙️ Settings\n\nFrom settings you can select Themes (dark and light), \"launch at login\" function and edit the main view elements.\n\n| General  |  Edit  | Custom Toggles |\n|---|---|---|\n|  ![](imgs/General.png) | ![](imgs/Edit.png)  | ![](imgs/customToggles.png) |\n\n\n## Custom Toggles (Beta)\n\u003e This is a beta feature, you can only add one custom toggle \n\n![](imgs/customTogglesExample.png)\n\n\n## 🎨 Themes\n\nHere a preview of light and dark themes\n\n\n|   |   |   |   |   |   |\n|---|---|---|---|---|---|\n| ![](imgs/lightThemes/1.png)  |  ![](imgs/lightThemes/2.png) |  ![](imgs/lightThemes/3.png) | ![](imgs/lightThemes/4.png)  | ![](imgs/lightThemes/5.png)  | ![](imgs/lightThemes/6.png) |\n| ![](imgs/darkThemes/1.png)  | ![](imgs/darkThemes/2.png)  |  ![](imgs/darkThemes/3.png) | ![](imgs/darkThemes/4.png)  | ![](imgs/darkThemes/5.png)  |  ![](imgs/darkThemes/6.png) |\n\n## ToDo\n\n- [ ] Select theme image from storage\n- [x] Persistent data (at the moment settings will reset if you close the app)\n- [ ] New Functions\n- [x] Custom toggles\n\n## Reviews\n\n* [MacUpdate](https://www.macupdate.com/app/mac/63828/oneclick)\n* [Softpedia](https://mac.softpedia.com/get/System-Utilities/mik3sw-OneClick.shtml)\n\n## Credits\n\n* [Launch at login](https://github.com/sindresorhus/LaunchAtLogin) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmik3sw%2FOneClick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmik3sw%2FOneClick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmik3sw%2FOneClick/lists"}