add themes

This commit is contained in:
Maddie H 2022-09-24 21:12:04 +01:00
parent 5c5da24154
commit b8a500907b
No known key found for this signature in database
GPG Key ID: 64FAA9959751687D
4 changed files with 41 additions and 1 deletions

View File

@ -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

4
default.nix Normal file
View File

@ -0,0 +1,4 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = [ pkgs.gnumake pkgs.pkg-config pkgs.harfbuzz pkgs.xorg.libX11 pkgs.xorg.libXft ];
}

36
themes/catppuccin.h Normal file
View File

@ -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;