On systemd, when the instance signature changes, the old hyprsunset process keeps running with an outdated socket path, causing IPC commands to fail. This fork automatically restarts the process and the service for convenience.
chmod +x hyprsunset-ctl
cd build
rm -rf *
cmake ..
make -j$(nproc)
sudo make install