Is there a way to configure different xorg configurations and assign them to keyboard shortcuts.

I have a laptop and external monitor. I frequently move the laptop between rooms and have a tv in the other room.

Ideally, I would like to be able to press ctrl-shift-1 and be able to switch automatically to using the laptop monitor only. crtl-shift-2 would be external monitor only. ctrl-shift-3 would be using twinview with laptop and external monitor.

Currently I have to open nvidia-settings and change the monitor configuration and apply and accept the changes. Makes it a hastle when I run back to my room to grab my computer.

Does anyone have any thoughts on this?