ref: 1fe8abf2773ae1f63f8ca82fbd7066471dfa6bbe
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