GithubHelp home page GithubHelp logo

Comments (2)

C2N14 avatar C2N14 commented on May 27, 2024

Hi there!
The way this currently works is by calling scheduler.py at the start of the user session, that runs once and then waits in the background until the time comes for changing the theme.

I did think about scheduling using systemctl in the past but I found that changing the times was not as convenient, and since sunset and sunrise time change not only by location but also by time of the year I came up with the current implementation.
If in the future I am able to see a more advantageous implementation using systemctl I might take it into consideration.

If you are having an issue with it not running automatically right now though, it might be related to a bug that I am trying to work with that has to do with the installation process, so for the moment it might not work properly until I can figure something out.

from automathemely.

mrdvt92 avatar mrdvt92 commented on May 27, 2024

I was trying to figure out how to integrate systemd timer with the Perl scripts in the distribution https://metacpan.org/release/Geo-Local-Server called

sunrise_time - Prints the time of the next sunrise
sunset_time - Prints the time of the next sunset

If we can figure out how to integrate that then we will have the timer that we need.

The lat.lon.hae are defined in the file /etc/local.coordinates

from automathemely.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.