ref: 3e5f24aae391f14c095b6dd1100c6d0cbe526ecf
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