ref: a209ae15974071706783e535d2ddde126e198dd8
bin/displayctl
#!/bin/sh # Run this after connecting or disconnecting an external display xrandr --output eDP-1 --primary --output DP-1 --auto --left-of eDP-1