diff options
Diffstat (limited to 'services/Bluetooth.qml')
| -rw-r--r-- | services/Bluetooth.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/services/Bluetooth.qml b/services/Bluetooth.qml index f5e9de1..224054d 100644 --- a/services/Bluetooth.qml +++ b/services/Bluetooth.qml @@ -27,6 +27,10 @@ Singleton { running: true command: ["bluetoothctl", "show"] + environment: ({ + LANG: "C.UTF-8", + LC_ALL: "C.UTF-8" + }) stdout: StdioCollector { onStreamFinished: { root.powered = text.includes("Powered: yes"); @@ -46,6 +50,10 @@ Singleton { echo end end`] + environment: ({ + LANG: "C.UTF-8", + LC_ALL: "C.UTF-8" + }) stdout: StdioCollector { onStreamFinished: { const devices = text.trim().split("\n\n").map(d => ({ |