#dbus #color-scheme

tintanum

Obtain the system color scheme preference

1 unstable release

0.1.0 Aug 7, 2023

#10 in #d-bus

Download history 46/week @ 2024-07-29 75/week @ 2024-08-05 23/week @ 2024-08-12 97/week @ 2024-08-19 60/week @ 2024-08-26 92/week @ 2024-09-02 81/week @ 2024-09-09 70/week @ 2024-09-16 129/week @ 2024-09-23 98/week @ 2024-09-30 135/week @ 2024-10-07 20/week @ 2024-10-14 98/week @ 2024-10-21 40/week @ 2024-10-28 23/week @ 2024-11-04 18/week @ 2024-11-11

183 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

~13–24MB
~376K SLoC