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
10
README.md
10
README.md
|
@ -374,7 +374,8 @@ Here is a minimal usage example:
|
||||||
modules = [
|
modules = [
|
||||||
homeManager.nixosModules.default
|
homeManager.nixosModules.default
|
||||||
{
|
{
|
||||||
home-manager.users.myuser.programs.kitty.settings = with theme.withHashtag; {
|
home-manager.users.myuser = {
|
||||||
|
programs.kitty.settings = with theme.withHashtag; {
|
||||||
color0 = base00; # Could also be `background`.
|
color0 = base00; # Could also be `background`.
|
||||||
color1 = base01;
|
color1 = base01;
|
||||||
# ...
|
# ...
|
||||||
|
@ -382,6 +383,13 @@ Here is a minimal usage example:
|
||||||
color11 = baseB;
|
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