I also recently bought a monitor with USB-C (Thunderbolt 3) which I can plug it's single cable into my DELL XPS and charge it, output 4K@60 to the display, and have my mouse and keyboard which are connected to the back of the monitor.
The downside is when I want to use the same kb/mouse with my desktop, I have to unplug them from the monitor and plug them into the desktop.
I use the same solution (not hub like you, but USB 4x switch, originally intended for printers, with an extra hub for have keyboard/mouse). Not all brands work for keyboard/mouse, but I have several that do.
Thats a great idea thanks. It's a shame the monitor didn't integrate this for when I switch display input, I was hoping to reduce the number of cables and boxes I use :(
Which monitor did you buy? I've been looking for one with USB-C support as I also have an XPS13. I have a 9360 and I know it uses a neutered TB3 PCIe lane (or something of that nature) so I'm concerned about being able to use a 4k 60 fps display with it. Have you had any issues? I use both Ubuntu and Windows on the machine, have you tried both with the monitor?
I don't run Windows so I can't answer that but Ubuntu 19.04 runs fine, although I've had minor issues with the laptop coming out of sleep and not outputting to the display occasionally.
EDIT: It's really nice in portrait for coding. I don't use the supplied stand but a desk mounted arm.
The downside is when I want to use the same kb/mouse with my desktop, I have to unplug them from the monitor and plug them into the desktop.