imsd-messages/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 9332094333
Bus, Ui, main: the system's appearance, dark or light and its accent
The desktop portal's org.freedesktop.appearance settings on the session
bus say whether the system prefers dark (color-scheme 1) and which
accent colour it uses, and a flatpak may read them. Bus:Appearance
subscribes to SettingChanged and reads the namespace in one ReadAll
call, which every portal version has, so a start waits for one answer at
most, 2 s; a portal that gave no colour scheme by then — still starting,
or not on the bus yet — is asked again when its name has an owner,
without waiting, and its answer comes as a change. The canvas gained a
dark palette and takes the accent for the avatars, badges, buttons and
outgoing bubbles, with the text on it dark or light by the accent's
brightness. The app applies the theme to the window at once and keeps it
for the next one; --theme dark|light or IMSD_MESSAGES_THEME (the same
two values: another is refused on the command line and ignored in the
environment) overrides the portal's colour scheme, for benches and
desktops without a portal.
2026-11-18 01:12:27 +01:00
..
ImsdMessages-Edit.cppm Ui, main: the input method, the app id, and touch through the pointer path 2026-11-18 01:12:27 +01:00
ImsdMessages-Gesture.cppm Ui, main: the new-conversation screen and the long-press sheets 2026-11-18 01:12:27 +01:00
ImsdMessages-Model.cppm Ui: the compose field and the send bar 2026-11-18 01:12:27 +01:00
ImsdMessages-Number.cppm main: show the window; --screenshot and --quit-after 2026-11-18 01:12:27 +01:00
ImsdMessages-Store.cppm Store, Sync, main: a deleted text stays deleted 2026-11-18 01:12:27 +01:00
ImsdMessages-Sync.cppm Store, Sync, main: a deleted text stays deleted 2026-11-18 01:12:27 +01:00
ImsdMessages-Time.cppm Time: ISO 8601 stamps, civil dates and the captions 2026-11-17 06:14:18 +01:00
ImsdMessages-Wrap.cppm Wrap: word wrap and ellipsis over a measure function 2026-11-17 06:14:18 +01:00
ImsdMessages.Bus-Appearance.cppm Bus, Ui, main: the system's appearance, dark or light and its accent 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Client.cppm Bus: the GDBus client, imsd's dictionaries, the notifier and the owned name 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Instance.cppm Bus: the GDBus client, imsd's dictionaries, the notifier and the owned name 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Notifier.cppm Ui, main: the new-conversation screen and the long-press sheets 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Variant.cppm Bus: the GDBus client, imsd's dictionaries, the notifier and the owned name 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus.cppm Bus, Ui, main: the system's appearance, dark or light and its accent 2026-11-18 01:12:27 +01:00
ImsdMessages.cppm Ui: the compose field and the send bar 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-App.cppm Bus, Ui, main: the system's appearance, dark or light and its accent 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-Canvas.cppm Bus, Ui, main: the system's appearance, dark or light and its accent 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-Compose.cppm Ui, main: the input method, the app id, and touch through the pointer path 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-Loop.cppm Ui: the window on Crafter.Graphics, driven from the GLib main loop 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-Screens.cppm Ui, main: the input method, the app id, and touch through the pointer path 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui.cppm Ui, main: the new-conversation screen and the long-press sheets 2026-11-18 01:12:27 +01:00