spantaleev / redshift-scheduler Goto Github PK
View Code? Open in Web Editor NEWRule-based screen temperature changer (based on redshift)
License: GNU General Public License v3.0
Rule-based screen temperature changer (based on redshift)
License: GNU General Public License v3.0
Is there a workaround for controlling brightness as well (via redshift -b
)? It's the only thing missing. I find that late at night, the screen is too bright unless at the temperature is set incredibly low (~1900K), which makes things too red. Unfortunately, setting redshift's brightness manually seems to conflict with redshift-scheduler--it would set the brightness but reset after a while (perhaps in a minute or so, which I guess is because of redshift-scheduler's gradual change per minute).
At this point in time it's easy to configure redshift to run at specific times, and to shift colors gradually. It would be nice to update the README.md on this project to indicate that redshift does these things. Might save people some confusion when they're reading this project's README, and would be quick to do.
redshift-scheduler is a fork of redshift, right? Last commit was around December 2014, but the latest version of redshift was released around January 2015.
I've tried to run the program without copying the config file, and it crashed, dumping a core:
% ./build.sh
% build/redshift-scheduler
[error] Could not create default rules file. The program is most likely installed incorrectly.
[1] 13760 trace trap (core dumped) build/redshift-scheduler
I'm using the info-redshift-temp script for polybar, which essentially uses the redshift -p
command to get the current temperature.
The temperatures shown by this script are not the same as the temperatures shown by the debug-mode redshift-scheduler -d
. The temps I'm getting form redshift -p
are always higher and mostly stuck at a fixed value (e.g. 4500k) for half an hour even though redshift-scheduler seams to work correctly.
First question: Why does redshift print a different (wrong) temperature?
Second question: Is there an easy way to print the current temperature with redshift-scheduler so it can be used in a polybar-modul?
Thanks for considering and the great work so far!
Needs "redshift -P -O"
('-P' resets gamma ramps before applying new temp)
As changed in redshift v1.12
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.