Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.

Commit

Permalink
Added shields
Browse files Browse the repository at this point in the history
  • Loading branch information
katernet committed Apr 29, 2019
1 parent 2e98dde commit 7e9c440
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
# darkmode

<p align="center">
<a href="/~https://github.com/katernet/darkmode/releases/latest"><img src="https://img.shields.io/badge/download-latest-brightgreen.svg" alt="download"></a>
<img src="https://img.shields.io/badge/platform-macOS-lightgrey.svg" alt="platform">
<img src="https://img.shields.io/badge/requires-macOS Mojave/Yosemite+-ab69b1.svg" alt="systemrequirements">
<img src="https://img.shields.io/github/downloads/katernet/darkmode/total.svg">
</p>

Set macOS dark mode and Alfred dark theme at sunset.

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!

##### High Sierra and below
![HighSierra](resources/highsierra.gif "High Sierra dark menu bar and dock")

##### Mojave
![Mojave](resources/mojave.gif "Mojave Dark Mode")

##### High Sierra and below
![HighSierra](resources/highsierra.gif "High Sierra dark menu bar and dock")

### Usage
```
$ ./darkmode.sh
```

### Notes

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

0 comments on commit 7e9c440

Please sign in to comment.