ref: 5d5acf8eef54ddeb0c6cb4c8575d695e6f6c2ebc
bin/displayctl
#!/bin/sh # Run this after connecting or disconnecting an external display xrandr --output eDP-1 --primary --output DP-1 --auto --left-of eDP-1