Can’t ribbon made to end just above the bottom bar, something like this?
This would give a consistent location for the settings icon as well.
Admittedly, the option for collapsed sidebar with no ribbon might still be an issue for those who want ultra minimalism