(cfg: Dict)
| 1023 | # Termux:X11 helpers |
| 1024 | # ---------------------------- |
| 1025 | def x11_stop_server(cfg: Dict) -> None: |
| 1026 | run(["pkill", "-f", "termux-x11"], check=False) |
| 1027 | print(tr(cfg, "x11_stopped")) |
| 1028 | |
| 1029 | def x11_start_server(cfg: Dict) -> bool: |
| 1030 | if shutil.which("termux-x11") is None: |
no test coverage detected