Adapter power switch, paired devices (connect/disconnect/forget), and scan-for-new-devices with pairing -- BOS had bluez/bluez-utils packaged and bread's own daemon already monitors Bluetooth events, but there was no GUI to actually manage devices anywhere in the settings app. Shells out to bluetoothctl's non-interactive mode, same "standard CLI, no new dependency" choice as Network (nmcli) and Snapshots (snapper). Pairing only covers "just works" SSP (most audio/HID devices) -- a device requiring a PIN would need this app to register its own bluetoothd agent, out of scope for now; it just fails with the reason shown, same honest-failure pattern the Firewall fix added.
19 lines
720 B
TOML
19 lines
720 B
TOML
[package]
|
|
name = "bos-settings"
|
|
version = "0.6.2"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
gtk4 = { version = "0.11", features = ["v4_12"] }
|
|
glib = "0.22"
|
|
# Shared ecosystem theming — bos-settings loads the same generated stylesheet as
|
|
# breadbar/breadbox/breadpad so the whole desktop looks consistent.
|
|
bread-theme = { git = "https://github.com/Breadway/bread-ecosystem", tag = "v0.2.10", features = ["gtk"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
# toml_edit drives non-destructive config editing: it preserves comments and
|
|
# any keys the UI doesn't model, so saving a single field never rewrites or
|
|
# drops the rest of the user's config file.
|
|
toml_edit = "0.22"
|
|
async-channel = "2"
|