mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-27 16:37:46 +00:00
Add template example
This commit is contained in:
parent
ff4e330668
commit
cd5ae68987
1 changed files with 15 additions and 7 deletions
22
README.md
22
README.md
|
@ -374,13 +374,21 @@ Here is a minimal usage example:
|
|||
modules = [
|
||||
homeManager.nixosModules.default
|
||||
{
|
||||
home-manager.users.myuser.programs.kitty.settings = with theme.withHashtag; {
|
||||
color0 = base00; # Could also be `background`.
|
||||
color1 = base01;
|
||||
# ...
|
||||
color10 = baseA;
|
||||
color11 = baseB;
|
||||
# ...
|
||||
home-manager.users.myuser = {
|
||||
programs.kitty.settings = with theme.withHashtag; {
|
||||
color0 = base00; # Could also be `background`.
|
||||
color1 = base01;
|
||||
# ...
|
||||
color10 = baseA;
|
||||
color11 = baseB;
|
||||
# ...
|
||||
};
|
||||
|
||||
# Using templates??? Wow, that's so cool!
|
||||
programs.bat = {
|
||||
config.theme = "tango";
|
||||
themes.tango = theme.tmTheme;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue