notifier: headless support

Later on some other kind of non-desktop-dependent notification
protocol should be added.