diff options
author | Kr1ss <kr1ss.x@yandex.com> | 2021-02-25 17:23:11 +0100 |
---|---|---|
committer | Kr1ss <kr1ss.x@yandex.com> | 2021-02-25 17:23:11 +0100 |
commit | 747af1cccbfbb99fae3661c49b5ad2ccf3d3c493 (patch) | |
tree | 314972b332f089bb069709e41bf59db01d15e508 /share | |
parent | 4ea5f0fc2a331e6b856a49331c1fff7659ebfcf5 (diff) |
mailsync/notify-send: provide a default `$DISPLAY`
A user reports notifications not working on their setup because there is
no display id contained in the `ps`/`pgrep` output concerning the Xorg
process.
This commit checks if there's a display server running at all, and if so
it sends notifications even if there's no display id.
Resolves https://github.com/LukeSmithxyz/mutt-wizard/issues/661
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions