Mini cart - Off-Canvas

I need mini cart off-canvas disabled for desktop and enabled for mobile.
To achieve this, I have to use two separate Mini Cart widgets - one for desktop, and one for mobile.
My suggestion is to create a toggle to enable/disable off-canvas for a given screen width.