Show or hide i3bar on a specific output
I have a dual monitor setup where I have two i3bar instances. One is in dock mode at the left, and the other one is in hide mode on the right. The right one is shown when the mod key is pressed.
Now, I want to show the bar when the cursor is over a certain screen region (without using the keyboard), so I've made a basic python script that checks for that with the help of xdotool and I just need to send the command to actually show the bar.
I've tried using
i3-msg "bar mode dock"
But it didn't work because both bars were shown / hidden.
So my question basically is, how can I send a message to i3 so only one of the two bars is shown?
Thank you!
Given the number of views and no answers I'll just assume i3 doesn't have this kind of functionality implemented.