Skip to content

Native Dart client library to access the D-Bus interface of systemd-localed

License

Notifications You must be signed in to change notification settings

canonical/xdg_locale.dart

Repository files navigation

xdg_locale.dart

Native Dart client library to access the D-Bus interface of systemd-localed.

CI codecov

Example

import 'package:xdg_locale/xdg_locale.dart';

void main() async {
  final service = XdgLocaleClient();
  await service.connect();
  print('X11 keyboard layout: ${service.x11Layout}');
  print('X11 keyboard variant: ${service.x11Variant}');
  await service.close();
}

Contributing to xdg_locale.dart

We welcome contributions! See the contribution guide for more details.

About

Native Dart client library to access the D-Bus interface of systemd-localed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages