2021-08-11 23:42:06 -04:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
if [ "$(pgrep -x redshift)" ]; then
|
|
|
|
period=$(redshift -p 2> /dev/null | grep Period | awk '{print $2}')
|
|
|
|
if [[ $period == 'Night' ]]; then
|
2023-06-14 12:49:43 -04:00
|
|
|
echo ""
|
2021-08-11 23:42:06 -04:00
|
|
|
#echo ""
|
2023-06-14 12:49:43 -04:00
|
|
|
#echo ""
|
2021-08-11 23:42:06 -04:00
|
|
|
#echo "鈴"
|
|
|
|
elif [[ $period == 'Transition' ]]; then
|
2023-06-14 12:49:43 -04:00
|
|
|
echo ""
|
2021-08-11 23:42:06 -04:00
|
|
|
else
|
2023-06-14 12:49:43 -04:00
|
|
|
echo ""
|
2021-08-11 23:42:06 -04:00
|
|
|
fi
|
|
|
|
else
|
2023-06-14 12:49:43 -04:00
|
|
|
echo ""
|
2021-08-11 23:42:06 -04:00
|
|
|
fi
|