#color #themes #color-scheme #dbus #freedesktop

tintanum

Obtain the system color scheme preference

1 unstable release

0.1.0 Aug 7, 2023

#20 in #freedesktop

Download history 19/week @ 2024-01-08 21/week @ 2024-01-29 13/week @ 2024-02-19 14/week @ 2024-02-26 8/week @ 2024-03-04 13/week @ 2024-03-11 15/week @ 2024-03-18 28/week @ 2024-04-01

58 downloads per month
Used in tauri-plugin-theme

MIT license

12KB
91 lines

Tintanum

This is a deamon that listens for a change of the color scheme preference and changes config files accordingly. Currently supported:

Dependencies

  • cargo
  • pkill

Usage

Within the repository root run:

make install

Configure themes

Specify your themes in the config:

import:
 - ~/.config/alacritty/themes/themes/your-light-theme.yaml #[light]
# - ~/.config/alacritty/themes/themes/your-dark-theme.yaml #[dark]

As soon as the daemon runs it will adjust the commented lines according to the system scheme preference.

Uninstall

Uninstall systemd service

make uninstall

Dependencies

~12–24MB
~357K SLoC