dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.44k stars 338 forks source link

Improve Multi Monitor Support #1234

Closed tiyn closed 8 months ago

tiyn commented 8 months ago

Issue description

I tried to use the same configuration of dunst on two different systems. Setting monitor = 1 works as expected on the dual screen system. But on the single monitor system the messages won't be displayed at all due to the monitor 1 not being available. It would be nice for dunst to check how many monitors are available and fallback to the first monitor if the monitor selected in the config is not available. Additionally a way to specify the last monitor (maybe with monitor = -1) could be useful too.

Installation info