Windows 11 does not directly offer an option to assign keyboard shortcuts to toggle taskbar settings. However, you can create shortcuts for the batch files you have made for toggling taskbar settings, then assign custom keyboard shortcuts to these shortcuts. This method essentially allows you to use keyboard shortcuts to adjust taskbar views indirectly.