Use if-shell for OS X top status bar