Skip to content

canonical/gsettings.dart

Repository files navigation

Pub Package codecov

Provides a client to use GSettings - a settings database used for storing user preferences on Linux.

import 'package:gsettings/gsettings.dart';

void main() async {
  var settings = GSettings('org.gnome.desktop.interface');
  var value = await settings.get('font-name');
  var font = value.asString();
  print('Current font set to: $font');
  await settings.close();
}

Contributing to gsettings.dart

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

About

Native Dart client library to access GSettings.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages