This is a simple script that shuts down the OS. It is helpful if you watch eg. live stream and you're tired.
If you want to increase the time, simply press a button and it adds 15 more minutes.
# shuts down the OS in 30 minutes
sudo good-night.sh 30