refactor bash timer notification