fix: proper ids for xvfb run to mute/deafen

fix: mute at startup
This commit is contained in:
2026-04-14 13:18:19 +02:00
parent 213429c8ba
commit eb1b927bf1
2 changed files with 4 additions and 2 deletions

View File

@@ -13,10 +13,10 @@ OP_ERROR = "ERROR".encode()
def exec_mumble(deaf: bool):
subprocess.run(
["xvfb-run", "-n", "1", "mumble", "rpc", "deaf" if deaf else "undeaf"]
["xvfb-run", "-n", "2", "mumble", "rpc", "deaf" if deaf else "undeaf"]
)
subprocess.run(
["xvfb-run", "-n", "2", "mumble", "rpc", "mute" if deaf else "unmute"]
["xvfb-run", "-n", "3", "mumble", "rpc", "mute" if deaf else "unmute"]
)