With this holder you can use a few screws or some double sided tape and a few cable ties to keep your inline switch where you want.
No supports needed.
The author marked this model as their own original creation.