036b326b04
the Theme service waits on amane::watch_file (inotify on the folder, so matugen's rename-over saves count) for both ~/.config/amane/theme and shell.conf, settles 50 ms for multi-write saves, and skips writes that change nothing. measured on the desktop: rename-over, in-place and sed -i writes picked up in 55-68 ms (was up to 500 ms), identical rewrites ignored, no activity while idle (was 4 reads a second). deleting the theme file takes effect at the next start
10 lines
443 B
Plaintext
10 lines
443 B
Plaintext
# amane shell settings, picked up the moment this file is saved: no restart needed.
|
|
# the colours themselves come from the wallpaper (matugen/amane.colors, written to ./theme)
|
|
|
|
# true: the open media card and equalizer take the song cover's colours as their background
|
|
# false: the whole shell uses the wallpaper's colours
|
|
cover_colors = false
|
|
|
|
# how long a colour change cross-fades, in milliseconds; 0 switches instantly
|
|
transition_ms = 400
|