diff --git a/config.h b/config.h index a949bc5..747becf 100644 --- a/config.h +++ b/config.h @@ -111,7 +111,7 @@ char *termname = "st-256color"; unsigned int tabspaces = 8; /* Terminal colors (16 first used in escape sequence) */ -#include "colours.h" +#include "themes/catppuccin.h" /* * Default shape of cursor diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..d02e025 --- /dev/null +++ b/default.nix @@ -0,0 +1,4 @@ +{ pkgs ? import {} }: + pkgs.mkShell { + nativeBuildInputs = [ pkgs.gnumake pkgs.pkg-config pkgs.harfbuzz pkgs.xorg.libX11 pkgs.xorg.libXft ]; +} diff --git a/themes/catppuccin.h b/themes/catppuccin.h new file mode 100644 index 0000000..9e86ddc --- /dev/null +++ b/themes/catppuccin.h @@ -0,0 +1,36 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + /* 8 normal colors */ + "#45475A", + "#F38BA8", + "#A6E3A1", + "#F9E2AF", + "#89B4FA", + "#F5C2E7", + "#94E2D5", + "#BAC2DE", + + /* 8 bright colors */ + "#585B70", + "#F38BA8", + "#A6E3A1", + "#F9E2AF", + "#89B4FA", + "#F5C2E7", + "#94E2D5", + "#A6ADC8", + +[256] = "#CDD6F4", /* default foreground colour */ +[257] = "#1E1E2E", /* default background colour */ +[258] = "#F5E0DC", /*575268*/ + +}; + + +/* + * foreground, background, cursor, reverse cursor + */ +unsigned int defaultfg = 256; +unsigned int defaultbg = 257; +unsigned int defaultcs = 258; +unsigned int defaultrcs = 258; diff --git a/colours.h b/themes/one-dark.h similarity index 100% rename from colours.h rename to themes/one-dark.h