Skip to content

ndesgranges/hyper-auto-dark-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This plugin will set your terminal to use the Atom One Light theme in the day and Atom One Dark theme at night.

This is is a fork from johnviolano/hyper-day-night-switch repository which does not exist anymore. See [npm] hyper-day-night-switch

The goal of this fork is to provide an "auto" behavior that relies on system dark mode settings instead of manually setting the hour

Install

Edit ~/.hyper.js and include the plugin name:

module.exports = {
    config: {
        plugins: ['hyper-auto-dark-mode'],
    }
}

Config

Not setting these ends up setting the plugin in "auto" mode. It will try to replicate the system dark/light hours.

module.exports = {
    config: {
        dayNightSwitch: {
            sunUp: 6,
            sunDown: 21
        },
    }
}

Themes

These are the themes this plugin will use:

hyper-one-light
hyperterm-atom-dark

TODO

  • MacOS : get current theme (dark/light)
  • Windows : get current theme (dark/light)
  • Linux : get current theme (dark/light)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published