ref: 193f16e46dd3cb1cf8c97439f5f2db385ac9c1b2
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