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