ref: 0c8e67fa5b7f207423e4bc6173ce0f7b7e64c552
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