dotfiles/eww/scripts/redshift.sh
2022-05-22 15:32:36 -04:00

17 lines
310 B
Bash
Executable file

#!/usr/bin/bash
if [ "$(pgrep -x redshift)" ]; then
period=$(redshift -p 2> /dev/null | grep Period | awk '{print $2}')
if [[ $period == 'Night' ]]; then
#echo ""
#echo ""
echo ""
#echo "鈴"
elif [[ $period == 'Transition' ]]; then
echo ""
else
echo "盛"
fi
else
echo ""
fi