For getting better sleep and recovery, is good to avoid too much blue light from a display. Packages Yad, Xgamma and Xsct must be installed.
#!/bin/bash
##
# RJP 11.4.2024
# Manual display´s color temperature changer for sleeping better
# Packages Yad, Xgamma and Xsct must be installed
# 14.4.2024 Xgamma night and day modes added
yad --form --columns=1 --width=500 --height=450 --scroll --text="DISPLAY COLOR TEMPERATURE CHANGER:" \
--field="Night Color":fbtn "bash -c 'xsct 4500 1.0; exec bash' & " \
--field="Day Color":fbtn "bash -c 'xsct 6500 1.0; exec bash' & " \
--field="Brightness Xsct 0.6":fbtn "bash -c 'xsct 6500 0.6; exec bash' & " \
--field="Brightness Xsct 0.8":fbtn "bash -c 'xsct 6500 0.8; exec bash' & " \
--field="Brightness Xsct 1.0":fbtn "bash -c 'xsct 6500 1.0; exec bash' & " \
--field="Night Color Xgamma 0.3":fbtn "bash -c 'xgamma -bgamma 0.3; exec bash' & " \
--field="Day Color Xgamma 1.0":fbtn "bash -c 'xgamma -bgamma 1.0; exec bash' & " \
--field="Brightness Xgamma 1.0":fbtn "bash -c 'xgamma -bgamma 1.0; exec bash' & " \
--field="Brightness Xgamma 0.8":fbtn "bash -c 'xgamma -gamma 0.8; exec bash' & " \
--field="Brightness Xgamma 0.6":fbtn "bash -c 'xgamma -gamma 0.6; exec bash' & " \
--field="Brightness Xgamma 0.4":fbtn "bash -c 'xgamma -gamma 0.4; exec bash' & " \
--button=Exit:1