Network ManagerΒΆ

Set WIFI priority:

nmcli connection show
nmcli connection modify SOME_CONNECTION connection.autoconnect-priority 10

https://askubuntu.com/a/722010/36078