Smile [REQUEST] shortcut/toggle for hardware/software navigation-bar

I'm using a tasker task as a shortcut when swiping up the soft navbar, to launch expanded desktop. This way i can easily toggle expanded desktop to enjoy the full screen when browsing etc. Is it possible for someone to create a toggle between the soft navbar and the hardware navbar, so i can add it to my task? So when the One is in expanded desktop it uses the hardware navigation-bar, en when not its using the software navigation bar? If this is even possible.

Thanx in advance!