My FreeBSD laptop finally goes to sleep when closing the lid!

I know, small victory! So far, in order to have my X1 go to sleep when closing the lid, I had an alias that did: nc_sleep='i3lock && doas zzz' This was a small annoyance, so I spent 30 minutes to fix it. Turns out it was easy! I just had to add an entry (e.g. lid.conf ) in /etc/devd : notify 100 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x01"; action "/usr/sbin/acpiconf -s…