ref: 9d5fab09a4fb8d90b2e4256ede3b113cf3f48e31
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