ref: 8efe3ce5e142a104cafd1cfa42022cff4fdb7276
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