mons

A tool to quickly manage two displays.

TLDR

Enable only the primary monitor

$ mons -o
copy


Enable only the secondary monitor
$ mons -s
copy


Duplicate the primary monitor onto the secondary monitor, using the resolution of the primary monitor
$ mons -d
copy


Mirror the primary monitor onto the secondary monitor, using the resolution of the secondary monitor
$ mons -m
copy

Copied to clipboard