diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-22 12:46:03 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-22 12:46:03 +1000 |
| commit | b13b6de9d89c38d92e348f555cd240f8d1af30b9 (patch) | |
| tree | 0f6e7d412f3c8e9089bdcce128f81b54603952df /services | |
| parent | picker: fix multimonitor (#127) (diff) | |
| download | caelestia-shell-b13b6de9d89c38d92e348f555cd240f8d1af30b9.tar.gz caelestia-shell-b13b6de9d89c38d92e348f555cd240f8d1af30b9.tar.bz2 caelestia-shell-b13b6de9d89c38d92e348f555cd240f8d1af30b9.zip | |
network: fix for non english locales
Also fix bluetooth
Diffstat (limited to 'services')
| -rw-r--r-- | services/Bluetooth.qml | 8 | ||||
| -rw-r--r-- | services/Network.qml | 4 |
2 files changed, 12 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 => ({ diff --git a/services/Network.qml b/services/Network.qml index 6a7f50e..1106136 100644 --- a/services/Network.qml +++ b/services/Network.qml @@ -24,6 +24,10 @@ Singleton { id: getNetworks running: true command: ["nmcli", "-g", "ACTIVE,SIGNAL,FREQ,SSID,BSSID", "d", "w"] + environment: ({ + LANG: "C.UTF-8", + LC_ALL: "C.UTF-8" + }) stdout: StdioCollector { onStreamFinished: { const PLACEHOLDER = "STRINGWHICHHOPEFULLYWONTBEUSED"; |