Compare commits

..

2 Commits

Author SHA1 Message Date
0e076a29ef
feat(power): add power information 2025-05-24 16:45:56 +02:00
5707b795f2
feat(user): add user info 2025-05-24 16:45:56 +02:00

View File

@ -32,7 +32,7 @@ impl BluetoothInfo {
} }
pub fn get_all_bluetooth_devices( pub fn get_all_bluetooth_devices(
connection: &dbus::blocking::Connection, &connection: dbus::blocking::Connection,
) -> Result<Vec<BluetoothInfo>> { ) -> Result<Vec<BluetoothInfo>> {
let proxy = connection.with_proxy("org.bluez", "/", Duration::from_millis(5000)); let proxy = connection.with_proxy("org.bluez", "/", Duration::from_millis(5000));
let (result,): (HashMap<dbus::Path<'static>, HashMap<String, arg::PropMap>>,) = proxy let (result,): (HashMap<dbus::Path<'static>, HashMap<String, arg::PropMap>>,) = proxy