u
This commit is contained in:
@@ -78,7 +78,9 @@ rshift() {
|
||||
echo "{morning, day, evening, night, bedtime}"
|
||||
elif [ ${cmd} == "morning" ] ; then
|
||||
temperature=4500
|
||||
elif [ ${cmd} == "day" ] || [ ${cmd} == "normal" ] || [ ${cmd} == "default" ] ; then
|
||||
elif
|
||||
[ ${cmd} == "day" ] ||
|
||||
[ ${cmd} == "normal" ] || [ ${cmd} == "default" ] || [ ${cmd} == "off" ] ; then
|
||||
temperature=6500
|
||||
elif [ ${cmd} == "evening" ] ; then
|
||||
temperature=3500
|
||||
@@ -90,6 +92,7 @@ rshift() {
|
||||
temperature=${cmd}
|
||||
fi
|
||||
|
||||
echo "setting temperature to ${temperature}K"
|
||||
redshift -P -O ${temperature}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user