diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-02-24 17:00:35 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-02-24 17:00:35 +0800 |
| commit | 5a1ec0958c698baceda6459f2f455d38b681d731 (patch) | |
| tree | 9c7b8aedf6017813e6d44301a694dadd83cc741a /hyprsunset.sh | |
| parent | 85ce700898392cb92952b9b417de2f1727d5ed0a (diff) | |
bump
Diffstat (limited to 'hyprsunset.sh')
| -rwxr-xr-x | hyprsunset.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hyprsunset.sh b/hyprsunset.sh index 47bced8..07a5aa1 100755 --- a/hyprsunset.sh +++ b/hyprsunset.sh @@ -3,8 +3,9 @@ renice -n 19 $$ ionice -c 3 -p $$ -NIGHT_GAMMA=95 -NIGHT_TEMP=6000 +# NIGHT_GAMMA=95 +NIGHT_TEMP=5500 +NORMAL_TEMP=6000 SUNRISE_HOUR=6 SUNSET_HOUR=20 @@ -13,11 +14,12 @@ apply_settings() { if [ $current_hour -ge $SUNRISE_HOUR -a $current_hour -lt $SUNSET_HOUR ]; then echo "Applying day settings" - hyprctl hyprsunset identity + # hyprctl hyprsunset identity + hyprctl hyprsunset temperature $NORMAL_TEMP else echo "Applying night settings" + # hyprctl hyprsunset gamma $NIGHT_GAMMA hyprctl hyprsunset temperature $NIGHT_TEMP - hyprctl hyprsunset gamma $NIGHT_GAMMA fi } |
