I’ve been happily running XMonad as my “desktop environment” for years.
Recently I tried to add some form of feedback to the behaviour of the volume and brightness control keys on my keyboard, which led me to install libnotify
and wired
. This has unleashed a deluge of notifications, the vast majority of which are distractions which I do not want to be breaking my concentration. I just want an indication of the volume, after having pressed a volume-control key, and maybe a very few other selected notifications from among those which have not been reaching me until now.
What would be a good way to filter notification programmatically on NixOS?