sioyek: Switch to dotter template for flavouring

Since sioyek does not support including into its configuration
file, we switch it to dotter templating and use the in-place
flavours insertion on theme selection for theming.

Any theming will not back filter into the repository.
This commit is contained in:
Marty Oehme 2023-10-03 15:10:05 +02:00
parent 08062027ae
commit a3b54a155e
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 1 additions and 19 deletions

View file

@ -85,6 +85,7 @@ terminal = "~"
[writing.files] [writing.files]
"writing/README.md" = { target = "~/README.md", type = "symbolic", if = "false" } "writing/README.md" = { target = "~/README.md", type = "symbolic", if = "false" }
"writing/.config/papis/papistui.yaml" = { target = "~/.config/papis/papistui.yaml", type = "symbolic" } "writing/.config/papis/papistui.yaml" = { target = "~/.config/papis/papistui.yaml", type = "symbolic" }
"writing/.config/sioyek/prefs_user.config" = { target = "~/.config/sioyek/prefs_user.config", type = "template", prepend = "# TEMPLATED BY DOTTER\n" }
writing = "~" writing = "~"
[system.files] [system.files]

View file

@ -1,24 +1,5 @@
# START FLAVOURS # START FLAVOURS
# base16-sioyek (https://github.com/loiccoyle/base16-sioyek)
# by Loic Coyle
# Gruvbox dark, soft scheme byDawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
custom_background_color #32302f
custom_text_color #ebdbb2
page_separator_color #32302f
search_highlight_color #fabd2f
status_bar_color #32302f
status_bar_text_color #ebdbb2
ui_text_color #ebdbb2
ui_selected_text_color #ebdbb2
ui_background_color #3c3836
ui_selected_background_color #665c54
background_color #32302f
visual_mark_color 0.40 0.36 0.33 0.2
text_highlight_color #665c54
link_highlight_color #83a598
synctex_highlight_color #fb4934
# END FLAVOURS # END FLAVOURS
super_fast_search 1 super_fast_search 1