
1 month
You could just drop the line into a script (without the sudo) into /usr/local/bin/ and call it on startup.
If you use systemd it’s as simple as:
[Unit]
Description=Disable Lid Suspend
[Service]
Type=oneshot
ExecStart=/usr/local/bin/lid-suspend
[Install]
WantedBy=basic.target
Just drop it into /etc/systemd/system/lid-suspend.service and then call sudo systemctl daemon-reload and sudo systemctl enable lid-suspend

Same, it’s really nice to look back and do a git revert if I have to. My commit messages are not as wordy, though.