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