Notification area transparency following the inactive window settings

Another option is to use a more universal dock/panel like tint2.

I used to use xfce-panel as my universal dock, even in Cinnamon, but some parts/functions of the dock don’t work correctly with some x11 WMs (Bspwm, Qtile, and dk). By using tint2, I eliminated all issues.