-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
taskwarrior: add support #223
base: master
Are you sure you want to change the base?
taskwarrior: add support #223
Conversation
Considering that GothenburgBitFactory/taskwarrior#2415 had no activity in the last three years, it seems like Taskwarrior does not support conventional RGB values. Upon deep investigation, I realised that Taskwarrior represents the traditional RGB range of
Consequently, e73c494 adds local variables mapping the traditional RGB range (0--255) to Taskwarrior's RGB range (0--5). However, now I am stuck because I don't know how to interpolate the new variables in the template: |
Your best option is to implement that functionality upstream, which would be helpful for some other features in Stylix too. Alternatively we could call mustache directly with all of the values the template needs. |
Seems like Lines 125 to 130 in a9e3ce0
Maybe one of the following procedures allows specifying local variables: |
Replace the 'todo' task manager with Taskwarrior because the unstructured data format no longer scales my needs. Requires: danth/stylix#223 Reverts: 493d995
This module themes the Taskwarrior (
programs.taskwarrior.enable
) Home Manager package.However, I am unsure how to properly interpolate the Stylix colors into the current draft theme at
modules/taskwarrior/template.theme.mustache
. I am unsure whether{{base00-hex}}
or{{base00-rgb-r}}
are appropriate in this case: https://www.systutorials.com/docs/linux/man/5-task-color.Once this PR merges, we could try to patch the theme upstream, and then remove it from this repo in a follow up PR.
Note that the current state properly applies the (non-Stylix) colors in my Home Manager setup.