Permanently anchor both sidebar toggle buttons

I felt the same way plus wanted to hide the ribbon when the sidebar is closed, but show it when the sidebar is visible. So I added this bit of JavaScript to a script I have set to run when Obsidian starts up using QuickAdd.

if (!this.app.isMobile) {
	const leftsidebarbutton = document.getElementsByClassName("sidebar-toggle-button mod-left");

	async function syncribbon() {
		this.app.vault.setConfig("showRibbon", !this.app.workspace.leftSplit.collapsed),
		this.app.updateRibbonDisplay(),
		this.app.workspace.updateFrameless()
	}

	for(let i=0; i < leftsidebarbutton.length; i++) {   
		leftsidebarbutton[i].addEventListener("click", function() {
				syncribbon();
		}, {passive: true})
	};
}