I am building a script for changing bluetooth devices in my sys-audio qube and would like to key bind this up with my dom0i3 configuration.
However I am running rofi in the sys-audio qube in order to select the bluetooth device but the problem with this is that I need to have my mouse focusing a sys-audio window in order for any input to be provided to rofi. This causes a problem because I will not usually be having such a window open and it’s very inconvenient.
An alternative solution is to pipe the output from sys-audio back to dom0 and running dmenu there. The obvious reason I don’t want to do this is that it seems pointlessly dangerous to pipe anything from sys-audio to dom0.
Does anyone have a solution for this? Is it perhaps possible to programmatically from dom0 to select a focus for a certain qube?