unmade / QLColorCodeThemer

 Automatically change QLColorCode color style based on macOS theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QLColorCode Themer

This is small daemon to automatically change QLColorCode color style based on macOS appearance. In other words it allows you to define you separate color style for Dark Mode.

light

dark

Installation

Clone this repo and run:

./install.sh

This will download an executable of this program and install it as an Launch Agent on your mac.

Usage

After you install and run this daemon, you can now set theme for light and dark respectively:

defaults write org.n8gray.QLColorCode hlLightTheme base16/one-light
defaults write org.n8gray.QLColorCode hlDarkTheme base16/eighties

Now, try to change Appearance in the System Settings.

Links

Special Kudos goes to DarkModeListener

About

 Automatically change QLColorCode color style based on macOS theme

License:MIT License


Languages

Language:Swift 63.4%Language:Shell 36.6%