From 3cb3edf5e9bad0e77c0f0fee88d752b2366a925b Mon Sep 17 00:00:00 2001 From: Kelly Roberts Date: Thu, 1 Sep 2022 09:24:37 -0700 Subject: [PATCH] speed up transition --- .local/bin/nightlight | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/nightlight b/.local/bin/nightlight index a324d07a..8b4a65c4 100755 --- a/.local/bin/nightlight +++ b/.local/bin/nightlight @@ -11,8 +11,8 @@ colortemp="$(xsct | cut -d' ' -f5)" if [ "$colortemp" -ge "6500" ]; then notify-send "🌙 Night Light Enabled (${settemp}K)" - for i in $(seq 6500 -100 ${settemp}); do xsct $i; sleep 0.1; done + for i in $(seq 6500 -100 ${settemp}); do xsct $i; sleep 0.05; done else notify-send "☀️ Night Light Disabled" - for i in $(seq ${settemp} 100 6500); do xsct $i; sleep 0.1; done + for i in $(seq ${settemp} 100 6500); do xsct $i; sleep 0.05; done fi