Added automatic background detection for locking in i3exit.bash.