emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.18k stars 139 forks source link

Use systemd to check environment variable #461

Closed akay closed 1 year ago

akay commented 1 year ago

Unit files have a built-in condition to check variables, so let's use it instead of executing a shell command.

akay commented 1 year ago

Seems like there are some issues with this approach that I'm not experiencing, so I will dig into it.