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