Trigger only if NOT holding modifier keys

Hi guys. I want to have a one finger gesture and I managed to do that only if active touch bar group is empty. But when I press the Command key it shows my emojis and when I swipe through the list the gesture gets fired. Is there a way to trigger only if NOT holding CMD key or activate a whole group on cmd key?

I've tried it this way:
Add a group to "All Apps" that shows only if CMD is pressed.
But that Group never gets activated. Can I activate it by default?