#7 Persist user's theme and font preferences

Closed
opened 6 years ago by matt · 2 comments
matt commented 6 years ago

In addition to persisting whatever a user wrote last, it’d be nice to remember the user’s choice for:

  • Dark mode enabled or not
  • Currently-selected font

between sessions.

In addition to persisting whatever a user wrote last, it'd be nice to remember the user's choice for: * Dark mode enabled or not * Currently-selected font between sessions.
adrian commented 6 years ago
Collaborator

I played with persisting this info to a DConf database, but that was more work then I expected. I’ll try again using a different technique.

I played with persisting this info to a DConf database, but that was more work then I expected. I'll try again using a different technique.
adrian commented 6 years ago
Collaborator

Got it working using a human readable key-value file at ~/.writeas-theme.ini. This reuses the same underlying code GLib uses to find the installed web browser for Write.as GTK.

Got it working using a human readable key-value file at `~/.writeas-theme.ini`. This reuses the same underlying code GLib uses to find the installed web browser for Write.as GTK.
adrian closed this issue 6 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.