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

tintanum

Obtain the system color scheme preference

1 unstable release

0.1.0 Aug 7, 2023

#14 in #d-bus

Download history 2/week @ 2024-04-20 1/week @ 2024-04-27 1/week @ 2024-05-04 22/week @ 2024-05-11 22/week @ 2024-05-18 38/week @ 2024-05-25 64/week @ 2024-06-01 15/week @ 2024-06-08 17/week @ 2024-06-15 32/week @ 2024-06-22 14/week @ 2024-06-29 20/week @ 2024-07-06 34/week @ 2024-07-13 49/week @ 2024-07-20 47/week @ 2024-07-27 56/week @ 2024-08-03

187 downloads per month
Used in 3 crates

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–23MB
~350K SLoC