Just as we have a xstartup.d and a xlogout.d, we should have a xreconnect.d that is run when the user reconnects to an existing session. This would be useful to reconnect local drives to a new terminal with different configuration, etc.
xreconnect.d would be great!