adiospace / switcheroo

Switch between your two favorite themes https://atom.io/packages/switcheroo
MIT License
5 stars 0 forks source link

Auto switch theme (at night/daytime) #4

Open rugk opened 9 years ago

rugk commented 9 years ago

It would be great if you could add some features to auto-switch a theme. Here are some methods to do it:

  1. the first approach is quite simple: A time-based auto switch. So just let the user enter two times and switcheroo will switch automatically.
  2. as mentioned by @olivierlacan in #1 by detecting luminosity with the camera
  3. However as I assume this is a bit difficult you could also just use a mix of 1 and 2 by locating the user (or let him enter geo coordinates) and calculate the sunrise and sunset times where you automatically switch. This way it's e.g. done by satnavs or software like f.lux.

Basically I would really like the first thing to be implemented and maybe the second and/or third thing as an 'extra-feature'. :smiley:

adiospace commented 9 years ago

Hey @rugk, first I need to make this work for atom 1.0, and then will see... I've started using atom again, so I will make time to fix it first...

rugk commented 9 years ago

Okay, great. Of course making it working is more important - but afterwards you can have a look at this idea again.

So I help #3 can already solve some problems.