You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I want to be able to toggle between day and night mode.
Describe the solution you'd like
A clear and concise description of what you want to happen.
!/bin/bash
current_temp=$(_code here that returns current temperature from redshift_)
echo "Current temperature: $current_temp"
if [[ $current_temp -eq 1000 ]]; then
redshift -P -O 6500
notify-send "Redshift: Daytime mode (6500K)"
else
redshift -P -O 1000
notify-send "Redshift: Nighttime mode (1000K)"
fi
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered. None, the way described should work fine
Additional context
Add any other context or screenshots about the feature request here.
I was trying to write the exact same script and found that redshift -p shows among other things a screen temperature, but it doesn't seem to be the current value.
On Mon, Aug 14, 2023, 2:36 PM yds12 ***@***.***> wrote:
I was trying to write the exact same script and found that redshift -p
shows among other things a screen temperature, but it doesn't seem to be
the current value.
—
Reply to this email directly, view it on GitHub
<#885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARTB5TJMRSM4IYKIAH3NM5LXVJV33ANCNFSM6AAAAAA2SGRIWA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
I found a workaround on Linux: you can do xrandr --current --verbose | grep Gamma to get the gamma settings of the monitor, it is affected by redshift.
On Mon, Aug 14, 2023, 3:42 PM yds12 ***@***.***> wrote:
I found a workaround on Linux: you can do xrandr --current --verbose |
grep Gamma to get the gamma settings of the monitor, it is affected by
redshift.
—
Reply to this email directly, view it on GitHub
<#885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARTB5TLB7DPWEXVUAOYEWOTXVJ5TNANCNFSM6AAAAAA2SGRIWA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Activity
yds12 commentedon Aug 14, 2023
I was trying to write the exact same script and found that
redshift -pshows among other things a screen temperature, but it doesn't seem to be the current value.gmayerw commentedon Aug 14, 2023
yds12 commentedon Aug 14, 2023
I found a workaround on Linux: you can do
xrandr --current --verbose | grep Gammato get the gamma settings of the monitor, it is affected by redshift.gmayerw commentedon Aug 14, 2023