How to send the keys command option F from the stream deck

I have a bash script under the combination command+option+F.

However when I program a button of the stream deck to send the same combination

command+option+F,

it is transformed to:

r command+ r option+F, (adding an r for right)

Because of this I cannot send the right command from the stream deck and it is not working.
So I created a trigger for the left option + left command + F as well.

Neither of them are triggered. If I use the keyboard it works.

Any advice appreciated.