All Projects → katernet → Darkmode

katernet / Darkmode

Licence: gpl-3.0
Set macOS dark mode and Alfred dark theme at sunset

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Darkmode

Alfred Google Translate Workflow
Alfred Google Translate Workflow. Alfred 多語言翻譯 Workflow,含有拼字校正、近似詞建議功能。(Temporally broken, use https://github.com/zetavg/alfred-google-translate-workflow/pull/8)
Stars: ✭ 85 (-42.57%)
Mutual labels:  alfred
Evernote Alfred
使用 Alfred 快速搜索印象笔记中的内容
Stars: ✭ 116 (-21.62%)
Mutual labels:  alfred
Alfred Vscode
Alfred 3 workflow that allows you to browse and open Visual Studio Code projects or simply open specified folders/files
Stars: ✭ 141 (-4.73%)
Mutual labels:  alfred
Alfred Parrot
📝 一款可以多种语言翻译的 Alfred Workflow
Stars: ✭ 89 (-39.86%)
Mutual labels:  alfred
Qimage Mac
Mac 版本的 Markdown 一键贴图工具,基于 Alfred 实现,支持本地文件、截图、网络图片一键上传七牛云,使用简单方便
Stars: ✭ 99 (-33.11%)
Mutual labels:  alfred
Shanbay Alfred2
扇贝词典的alfred2 workflow, 支持查询和添加单词到自己词库。
Stars: ✭ 124 (-16.22%)
Mutual labels:  alfred
Alfred Hl
🔆 Syntax highlight code in the clipboard
Stars: ✭ 80 (-45.95%)
Mutual labels:  alfred
Chrome Control
A JXA script and an Alfred Workflow for controlling Google Chrome
Stars: ✭ 144 (-2.7%)
Mutual labels:  alfred
Alfred Learn Anything
Alfred workflow to search Learn Anything
Stars: ✭ 115 (-22.3%)
Mutual labels:  alfred
Alfred Ocr
OCR & Translate using multiple interfaces for Alfred Workflow
Stars: ✭ 136 (-8.11%)
Mutual labels:  alfred
Alfred Calculate Anything
Alfred Workflow to calculate anything with natural language
Stars: ✭ 92 (-37.84%)
Mutual labels:  alfred
Alfred Workflow
Alfred Workflow教程与实例; CDto: 打开Terminal并转到任意文件夹或文件所在目录; Effective IP:查询本机和外网IP地址,解析任意URL和域名的IP地址,以及进行归属地和运营商查询; UpdateAllNPM: 更新所有Node.js全局模块; UpdateAllPIP: 更新所有Python模块
Stars: ✭ 98 (-33.78%)
Mutual labels:  alfred
Alfred Vpn Manager
Manage Tunnelblick & Viscosity VPN connections from Alfred
Stars: ✭ 127 (-14.19%)
Mutual labels:  alfred
Autocomplete
🔮 Fast and full-featured autocomplete library
Stars: ✭ 1,268 (+756.76%)
Mutual labels:  alfred
Alfred Firefox
Search and control Firefox from Alfred
Stars: ✭ 142 (-4.05%)
Mutual labels:  alfred
Copy Paths To Clipboard
Copy paths in a variety of formats to the clipboard with Alfred
Stars: ✭ 83 (-43.92%)
Mutual labels:  alfred
Alfred Awesome Lists
Alfred workflow to search awesome lists
Stars: ✭ 118 (-20.27%)
Mutual labels:  alfred
Alfred Pinboard
Alfred Workflow for Pinboard (written in Go (golang))
Stars: ✭ 146 (-1.35%)
Mutual labels:  alfred
Alfred Polyglot
🈚️ Translate text using Google Translate in Alfred
Stars: ✭ 142 (-4.05%)
Mutual labels:  alfred
Alfred
My Alfred Theme And Workflow
Stars: ✭ 135 (-8.78%)
Mutual labels:  alfred

darkmode

download platform

Set macOS dark mode at sunset. If you have Alfred installed, the dark theme will also be set.

This shell script gets the sunrise and sunset times from Night Shift and automates the setting up of two user launch agents for sunrise and sunset, which then take over running the script thereafter. If your mac was asleep/off during the solar times, launchd will run the script when you're next logged in!

Or you can supply your own sunrise and sunset 24H times by passing arguments. Example: 0600 1800

News: macOS Catalina includes an 'auto' Dark Mode and the new version of Alfred remembers the theme set for light/dark mode and so basically there's no point in using this 😋. However, if you're on an earlier macOS release or you're a fan of setting your own Dark Mode schedules, then this is just for you!

Mojave and later

Mojave

High Sierra and below

HighSierra

Usage

$ ./darkmode.sh

OR

$ ./darkmode.sh HHMM HHMM

Notes

Compatible with macOS Mojave and later Dark Mode. Press OK to the security dialogs to allow control to System Events that appear when first running the script.

Night Shift requires Wifi and "Setting Timezone" enabled in System Preferences > Security & Privacy > Location Services > System Services > Details.

If your Mac does not support Night Shift, please use the previous version 1.7.2 which uses the Yahoo Weather API.

If you have a custom Alfred theme, you can change the name of the themes in the global variables.

A log file is stored in ~/Library/Logs which logs solar time changes and script errors.

To uninstall: $ ./darkmode.sh /u

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].