Package-level declarations

Types

Link copied to clipboard
data class AccentColor(val red: Double, val green: Double, val blue: Double)

Accent color from org.freedesktop.appearance.accent-color. RGB values in sRGB color space, range 0.0, 1.0.

Link copied to clipboard

Color scheme preference from org.freedesktop.appearance.color-scheme.

Link copied to clipboard

Contrast preference from org.freedesktop.appearance.contrast.

Link copied to clipboard

Reduced motion preference from org.freedesktop.appearance.reduced-motion.

Link copied to clipboard
class SettingsPortal(connection: DBusConnection)

Wrapper around the org.freedesktop.portal.Settings D-Bus interface. Provides convenient methods to read appearance settings with proper types and subscribe to setting changes.