Resetting Steam Gaming Mode's Resolution from ssh

Long story short: I have an nvidia card (sorry) and I set the resolution in steam gaming mode to 4k@144hz and now my screen is displaying as a thin static-y stripe at the top of the monitor. I have ssh access. Is there a file I can edit to change the setting back?
Was this page helpful?