displays notebook
: Enables only notebook displaysdisplays hdmi
: Enables only hdmi displaysdisplays both
: Enables notebook and hdmi displayssdisplays mirror
: Enables notebook and hdmi displayss and mirrors them.
curl -L https://raw.githubusercontent.com/dannnylo/displays/master/displays -o /usr/local/bin/displays
chmod +x /usr/local/bin/displays
If you need sudo:
sudo curl -L https://raw.githubusercontent.com/dannnylo/displays/master/displays -o /usr/local/bin/displays
sudo chown $USER /usr/local/bin/displays
chmod +x /usr/local/bin/displays