The best thing I ever did was to disable all notifications on my phone, other than text messages and direct instant messages.
No Facebook, email or other app notifications. It has severely reduced my tendency to constantly check my phone, and it doesn't buzz in my pocket all the friggin time.
Done that. If only somebody told me how to disable facebook (and slack and gmail etc) starting blinking the browser tab when they think something happened that I need to note, that would make my desktop life much less distracted.
No Facebook, email or other app notifications. It has severely reduced my tendency to constantly check my phone, and it doesn't buzz in my pocket all the friggin time.