All Projects → pouyakary → Starlight

pouyakary / Starlight

Licence: other
Automatic macOS Dark/Light shift based on surrounding ambient light.

Projects that are alternatives of or similar to Starlight

wluma
Automatic brightness adjustment based on screen contents and ALS
Stars: ✭ 290 (+1015.38%)
Mutual labels:  dark-theme, ambient-light-sensor, ambient-light
vuepress-theme-ououe
A blog theme for VuePress
Stars: ✭ 77 (+196.15%)
Mutual labels:  light-theme, dark-theme
vuepress-theme-default-prefers-color-scheme
add prefers-color-scheme for vuepress default theme
Stars: ✭ 51 (+96.15%)
Mutual labels:  light-theme, dark-theme
hyperterm-gruvbox
Hyperterm theme based on gruvbox
Stars: ✭ 16 (-38.46%)
Mutual labels:  light-theme, dark-theme
ColorPickerLib
A WPF/MVVM implementation of a themeable color picker control.
Stars: ✭ 44 (+69.23%)
Mutual labels:  light-theme, dark-theme
vscode-theme-gruvbox-minor
Gruvbox theme for Visual Studio Code
Stars: ✭ 17 (-34.62%)
Mutual labels:  light-theme, dark-theme
fsc
A set of themeable WPF File System Controls similar to some parts of Windows (7-10) Explorer
Stars: ✭ 66 (+153.85%)
Mutual labels:  light-theme, dark-theme
Edi
Edi - The open source text editor IDE based on AvalonDock and AvalonEdit
Stars: ✭ 220 (+746.15%)
Mutual labels:  light-theme, dark-theme
xcode-theme
Bring the color of the Xcode 'Default (Dark)', Xcode 'Classic (Dark)' and Xcode 'Classic (Light)' themes to Visual Studio Code.
Stars: ✭ 28 (+7.69%)
Mutual labels:  light-theme, dark-theme
Light-Switch
Easily switch from light to dark theme, or the other way around, in Windows 10/11.
Stars: ✭ 25 (-3.85%)
Mutual labels:  light-theme, dark-theme
Appearance-figma-plugin
Figma plugin. This plugin generates a dark/light theme from your selection.
Stars: ✭ 36 (+38.46%)
Mutual labels:  light-theme, dark-theme
theme-collection
A collection of themes for Node-RED
Stars: ✭ 43 (+65.38%)
Mutual labels:  light-theme, dark-theme
Startpage
New revamped and improved Startpage, now with Dark Mode support!
Stars: ✭ 35 (+34.62%)
Mutual labels:  light-theme, dark-theme
NumericUpDownLib
Implements numeric up down WPF controls to edit/display values (byte, integer, short, ushort etc.) with a textbox and optional up/down arrow (repeat) buttons. Value editing is possible by dragging the mouse vertically/horizontally, clicking up/down buttons, using up/down or left right cursor keys, spinning mousewheel on mouseover, or editing th…
Stars: ✭ 68 (+161.54%)
Mutual labels:  light-theme, dark-theme
firefox-edge
Firefox Edge is a theme for Mozilla Firefox that closely replicates the look of Microsoft Edge (dark theme) without losing any features of Firefox.
Stars: ✭ 65 (+150%)
Mutual labels:  light-theme, dark-theme
paddy-color-theme
A very detailed VS Code color theme with earthy tones and many background options for all ye badass hackers. 🍁
Stars: ✭ 29 (+11.54%)
Mutual labels:  light-theme, dark-theme
Firefox Gnome Theme
A theme for Firefox 57+ matching GNOME Adwaita.
Stars: ✭ 179 (+588.46%)
Mutual labels:  light-theme, dark-theme
Gruvbox
🎨 Sublime Text themes & color schemes with pastel 'retro groove' colors
Stars: ✭ 191 (+634.62%)
Mutual labels:  light-theme, dark-theme
reveal-jekyll
Online presentation for GitHub Pages and Jekyll in Markdown using reveal.js with a Solarized Color Theme
Stars: ✭ 67 (+157.69%)
Mutual labels:  light-theme, dark-theme
Bubble-Space-Theme
A theme for https://obsidian.md/ inspired by Bubbles for Light Mode and Outer Space for Dark Mode!
Stars: ✭ 86 (+230.77%)
Mutual labels:  light-theme, dark-theme

Starlight

Starlight is the system dark/light appearance manager for macOS Mojave and later. It does measure time and ambient light periodically and then performs system-wide and specific changes of themes for you. For the time being it can change the system appearance, wallpapers, and vscode themes.

How to build it?

You must be using macOS mojave or later (to even have the light/dark possibility) and then you must have Xcode installed (in a version that supports Swift 4.1+). This build system only uses Swift compiler so if you have swiftc in such way that it supports 4.1+ you can use it. You also have to have GNU Make installed.

% make install

This will install starlight to your /usr/local/bin and the starlight-daemon.plist to your ~/Library/LaunchAgents

How to use it?

Starlight runs with a factory preset, but you can change its settings by overriding the settings at ~/.starlight.json. All the settings are optional, but for the settings that have dark/light objects, you should provide both the dark and light keys.

{
                                                // IMPORTANT
                                                // JSON does not accept comments. So do not
                                                // copy this as is.



    "intervals":            10,                 // The time interval in seconds that starlight
                                                // performs changes.


    "minimumLux":           75000,              // Minimum lux amount to be in the light mode.
                                                // if the amount that is measured is under the
                                                // minimumLux amount, then it will change to
                                                // dark mode and in other cases back to light.

    "samples":              10,                 // The rate of samples that each interval does
                                                // For example in an interval of 30 with the
                                                // sample rate of 10, Starlight measures the
                                                // light in every 3 seconds and in the end of
                                                // intervals performs the changes based on the
                                                // average of the 10 measurements.


    "sunset":               "18:00",            // By setting these two times, from sunset to
    "sunrise":              "06:00",            // sunrise, starlight forces dark mode.
                                                // Please notice the HH:mm format of the time
                                                // any other format is ignored
                                                //
    "location": {                               // Starlight can also compute the sunrise or
        "latitude":         12.3456,            // sunset for you. To do so you can set the
        "longitude":        65.7890             // sunrise and/or sunset to value "auto" and
    },                                          // specify your location as in the "location"
                                                // property. You can use services like Google
                                                // Maps, Apple Maps, OpenStreet Maps, et cetera
                                                // to find out your location.
                                                //
                                                // FYI: Your location can be computed by mac's
                                                // CoreLocation API, however this API needs
                                                // app signing and therefore is not suitable
                                                // for open source nature of starlight. Also
                                                // this location is only needed to determine
                                                // timezone location which if you don't travel
                                                // in such way that needs to change your time-
                                                // zone that much; is probably a one time setup.
                                                // and so not using location APIs is a lot better
                                                // for the battery performance.


    "wallpapers": {                             // By setting this, starlight changes the
        "light":            "~/light.png",      // wallpaper. You have to specify the path of
        "dark":             "~/dark.png"        // the light and dark theme.
    },                                          //
                                                // NOTE: Remember that this changes "all" the
                                                // wallpapers of all the screens and monitors.
                                                // so use it with caution.


    "vscode": {                                 // this setting changes the theme of Visual
        "light":            "Light Theme",      // Studio Code by changing the value of the
        "dark":             "Dark Theme"        // "workbench.colorTheme"
    }
}

Starting and Stopping?

To start and stop Starlight you can use tho following system commands

% launchctl start us.kary.starlight
% launchctl stop  us.kary.starlight

Thanks a lot to

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