ref: ebdda171d992ee83085c72b932bb69421c54e917
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