mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-27 00:17:45 +00:00
Add Ghostty template
This commit is contained in:
parent
1024c2e2ee
commit
ca5fbf10c9
4 changed files with 33 additions and 2 deletions
|
@ -321,6 +321,7 @@ There are instructions on how to use these in the file they are located. Check `
|
|||
adwaitaGtkCss
|
||||
discordCss
|
||||
firefoxTheme
|
||||
ghosttyConfig
|
||||
tmTheme
|
||||
```
|
||||
</details>
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
|
||||
discordCss = (import ./templates/discordCss.nix) themeFull;
|
||||
firefoxTheme = (import ./templates/firefoxTheme.nix) themeFull;
|
||||
ghosttyConfig = (import ./templates/ghosttyConfig.nix) themeFull;
|
||||
tmTheme = (import ./templates/tmTheme.nix) themeFull;
|
||||
};
|
||||
} // builtins.mapAttrs (name: self.custom) raw;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# With Home Manager, do:
|
||||
#
|
||||
# gtk.gtk3.extraCss = upkgs.theme.adwaitaGtkCss;
|
||||
# gtk.gtk4.extraCss = upkgs.theme.adwaitaGtkCss;
|
||||
# gtk.gtk3.extraCss = myTheme.adwaitaGtkCss;
|
||||
# gtk.gtk4.extraCss = myTheme.adwaitaGtkCss;
|
||||
theme: with theme.withHashtag; ''
|
||||
@define-color accent_color ${base0A};
|
||||
@define-color accent_bg_color ${base0A};
|
||||
|
|
29
templates/ghosttyConfig.nix
Normal file
29
templates/ghosttyConfig.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
# With https://github.com/clo4/ghostty-hm-module, do:
|
||||
#
|
||||
# programs.ghostty.settings.config-file = [
|
||||
# (pkgs.writeText "base16-theme" myTheme.ghosttyConfig)
|
||||
# ];
|
||||
theme: with theme.withHashtag; ''
|
||||
palette = 0=${base00}
|
||||
palette = 1=${base08}
|
||||
palette = 2=${base0B}
|
||||
palette = 3=${base0A}
|
||||
palette = 4=${base0D}
|
||||
palette = 5=${base0E}
|
||||
palette = 6=${base0C}
|
||||
palette = 7=${base05}
|
||||
palette = 8=${base03}
|
||||
palette = 9=${base08}
|
||||
palette = 10=${base0B}
|
||||
palette = 11=${base0A}
|
||||
palette = 12=${base0D}
|
||||
palette = 13=${base0E}
|
||||
palette = 14=${base0C}
|
||||
palette = 15=${base07}
|
||||
palette = 16=${base09}
|
||||
palette = 17=${base0F}
|
||||
palette = 18=${base01}
|
||||
palette = 19=${base02}
|
||||
palette = 20=${base04}
|
||||
palette = 21=${base06}
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue