Ok so I'm trying to make a bash script that will check for inactivity and then after a defined time of inactivity it will execute and fully shutdown my computer.