if the file "notification.state" exists in the configuration
directory, it will overwritten with
"disconnected" or
"connected" or
"connected_notifications" or
"disconnected_notifications"
when connection state or pending notifications change
on exit, "quit" will be
another attempt at hannesm/jackline#38