Comments (2)
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.
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)
- Can't update sunrise and senset times in KDE Plasma 5.15.5 HOT 1
- "Timezone [...] not recognized" error HOT 1
- theme not changing automatically in ubuntu 18.04 with unity DE HOT 12
- Installation script not installing scheduler desktop file for autostarting of the scheduler on login HOT 1
- updsuntimes.py gets the wrong execution folder HOT 2
- One or more of the script files was/were not found HOT 2
- Program won't open HOT 5
- ERROR: gnome shell user extension is not available, when system hibernate or wakeup HOT 2
- Does not support MATE desktop HOT 2
- Sugesstion: changing theme in Albert Spotlight, Signal and Caprine
- VS Code integration. HOT 2
- Someone please upgrade this tool for Ubuntu 20.04 / Python 3.8 HOT 10
- ImportError: cannot import name 'Location' from 'astral' HOT 4
- Sunset / Sunrise theme changes only applied at boot
- Can't uninstall HOT 4
- Can't run HOT 12
- AutomaThemely does not open on Manjaro 20.2 HOT 2
- Downloaded latest verion no-deps for Linux Mint 19 (based on Ubuntu 18) and can't run HOT 2
- Can't install on Fedora with Cinnamon DE HOT 2
- Could not install with Python 3.8 in Linux Mint 20.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automathemely.