mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
speed up transition
This commit is contained in:
parent
cee6be0152
commit
3cb3edf5e9
@ -11,8 +11,8 @@ colortemp="$(xsct | cut -d' ' -f5)"
|
|||||||
|
|
||||||
if [ "$colortemp" -ge "6500" ]; then
|
if [ "$colortemp" -ge "6500" ]; then
|
||||||
notify-send "🌙 Night Light Enabled (${settemp}K)"
|
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
|
else
|
||||||
notify-send "☀️ Night Light Disabled"
|
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
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user