- Add logrotate config for the new $XDG_STATE_HOME/logs directory. - Run logrotate before starting DWM (logs are rotated if required by the configuration).