https://github.com/linusu/darkmodelistener
A small cli tool to listen to dark mode changes on macOS Mojave
https://github.com/linusu/darkmodelistener
Last synced: 12 months ago
JSON representation
A small cli tool to listen to dark mode changes on macOS Mojave
- Host: GitHub
- URL: https://github.com/linusu/darkmodelistener
- Owner: LinusU
- Created: 2018-11-21T09:51:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-18T22:06:37.000Z (over 6 years ago)
- Last Synced: 2025-05-07T11:51:50.755Z (about 1 year ago)
- Language: Swift
- Size: 1.95 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DarkModeListener
A small cli tool to listen to dark mode changes on macOS Mojave.
## Installation
Installation via [Mint](https://github.com/yonaskolb/Mint):
```sh
mint install LinusU/DarkModeListener
```
## Usage
```sh
$ dark-mode-listener
light
dark
light
...
```
The program will start by printing a line with either `light` or `dark` depending on the current active mode. It will then print a new line whenever the value changes.