I'm having trouble with bar chords and this helped a lot...
So I found this video on playing bar chords in Reddit. Despite the poor quality resolution and audio, the exercises the guy recommends are pretty good. I recommend them, hopefully they will help you if you're also struggling!
Take it or leave it, the shadow is always there.
Holding your hand.
With a glass of ice cold lemonade in the other.
Listening to reggae music.
What more do you want?