mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-12 12:01:08 +01:00
36 lines
853 B
Nix
36 lines
853 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.ptyxis = {
|
|
enable = true;
|
|
palettes.myTheme = {
|
|
Palette.Name = "My awesome theme";
|
|
Light = {
|
|
Foreground = "#E2E2E3";
|
|
Background = "#2C2E34";
|
|
Color0 = "#2C2E34";
|
|
Color1 = "#FC5D7C";
|
|
Color2 = "#9ED072";
|
|
Color3 = "#E7C664";
|
|
Color4 = "#F39660";
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/org.gnome.Prompt/palettes/myTheme.palette
|
|
assertFileContent home-files/.config/org.gnome.Prompt/palettes/myTheme.palette \
|
|
${pkgs.writeText "expected-ptyxis-theme" ''
|
|
[Light]
|
|
Background=#2C2E34
|
|
Color0=#2C2E34
|
|
Color1=#FC5D7C
|
|
Color2=#9ED072
|
|
Color3=#E7C664
|
|
Color4=#F39660
|
|
Foreground=#E2E2E3
|
|
|
|
[Palette]
|
|
Name=My awesome theme
|
|
''}
|
|
'';
|
|
}
|