So Minecraft fullscreen seems to not work for me. Because of this I just run it in a maximized window. Usually what I do is set my sidebar to auto-hide, revealing at the top left corner with 0 sensitivity, so that it doesn't take up space or keep popping up.
My question is how would I be able to do this through a script? I currently have a bash script to run Minecraft, I could make it a python script or something if needed. My best guess is that there's a file I can write into that would store these values. I would prefer not to disable it entirely just because I sometimes like to switch to another workspace and open up a web browser through the dash.