Please do your own research, following some strangers advice on the internet can end up with a broken computer.
With that said here's my two cents worth.
Elogind manages user logins and system power, as a standalone version of systemd-logind. elogind provides necessary features for most desktop environments and Wayland compositors. This comes from the Void Linux "Session and Seat Management" section from the Void documentation website.
Elogind and Pcmanfm
Normally on a systemd Linux likeArch or Debian I would just install udiskie, gvfs, and ntfs-3g and call it good. This would auto-magically have the trash folder show up in the sidebar. I then would have udiskie -ta & in my autostart.sh program and this would take care of having mounted disk drives like thumbdrives show up in the sidebar. Void is a little different. I do the above but I need to do a little more. I installed elogind and enabled the service creating a symlink from the /etc/sv/elogind to the /var/service/elogind (sudo ln -s /etc/sv/elogind /var/service/). You might have to start the service by running sudo sv up elogind. If you are using window manager like dwm or bspwm and using a login manager like sddm or lightdm which uses /usr/share/xsession/bspwm you would simply change the line exec=bspwm to exec=dbus-run-session bspwm. Using startx you would make the same change.
Elogind and Ignoring a Closed Laptop Lid
Again, normally on a systemd Linux install you would go to /etc/systemd/logind.conf and edit a line to HandleLidSwitch=ignore. On Void using elogind you do the same but it would be editing /etc/elogind/logind.conf. Just edit the line to HandleLidSwitch=ignore.
The Void part of this comes from The Void Linux man page for logind.conf.