That tool also handles input stuff (like setting the keyboard layout when a keyboard is connected, or setting the mouse speed when a mouse is connected), and setting the wallpaper (because the wallpaper has to be re-applied when a display is connected). Here's the config file I personally use: https://github.com/mortie/nixConf/blob/master/.dedaemon.hcnf
If you do end up trying it out, feel free to pm me (mort@irc.freenode.net) or open a github issue if you have any questions or problems.
So far I've been making do with shellscripts I call ad-hoc, but dedaemon looks super convenient.
Thanks for creating it, I'll certainly give it a try!
Or I also found out accidentally, I had to install gnome for some stupid test. But, using gdm as the login manager made automatic monitor detection work under i3? I literally changed nothing. But using gdm to login to my i3 and it works flawlessly. Even turning off monitors moved everything to one automatically.
E.g., https://www.reddit.com/r/unixporn/comments/64mihc/i3_kde_pla...
(Dis)connecting extra monitors has been automagic without any scripting/xrandr/3rd-party programs. KDE can handle that perfectly, and i3 obeys, so far.
It's pretty neat. And I say this as an i3 lover, not a KDE lover.
Switching from xmonad did also get me to switch from xmobar to lemonbar. I really like how lemonbar is again "just a pipe," though it did pull me down a bit of a configuration rabbit hole. I now have about 500 lines of shell that asyncronously show various bits of system and bspm state.
Anyway, I don't have much of a point, other than sharing my enthusiasm with a fellow user.
[1]: https://uzbl.org