gnome-shell-night-light-slider-extension icon indicating copy to clipboard operation
gnome-shell-night-light-slider-extension copied to clipboard

Show value on change

Open neclepsio opened this issue 6 years ago • 2 comments

Please add some way to show the current temperature upon change, and make it change in steps of 100K.

neclepsio avatar Mar 09 '18 18:03 neclepsio

Hi there @neclepsio while I can have the extension show the current temperature on change, I can't quite change change the value of the steps (or at least I'm not sure how to), since I am simply calculating it as so:

T := Temperature
R := How much the slider is scrolled, from 0-1
T = (R * (Max - Min)) + Min

I'll continue seeing if I can support this secondary feature in the future though :smile:

kiyui avatar Apr 07 '18 10:04 kiyui

Thank you. But what about this at the end?

T=trunc(T/50)*50

neclepsio avatar Apr 08 '18 06:04 neclepsio