Font fix & Custom theme

master
Nakidai 2024-03-27 04:33:57 +03:00 committed by Nakidai
parent 0841687f49
commit 97a5e00cd4
Signed by: nakidai
GPG Key ID: C6BF6082F42307C0
3 changed files with 40 additions and 2 deletions

View File

@ -8,7 +8,7 @@
// static char *font = "Liberation Mono:pixelsize=14:antialias=true:autohint=true";
// static char *font = "Dejavu Sans Mono:pixelsize=14:antialias=true:autohint=true";
// static char *font = "Source Code Pro Mono:pixelsize=14:antialias=true:autohint=true";
static char *font = "FiraCode Nerd Font Mono:pixelsize=14:antialias=true:autohint=true";
static char *font = "FiraCode:pixelsize=14:antialias=true:autohint=true";
static int borderpx = 4;
/*
@ -99,7 +99,7 @@ unsigned int tabspaces = 8;
/*
* Include theme
*/
#include "frappe.h"
#include "theme.h"
/*
* Default shape of cursor

View File

@ -4,6 +4,7 @@ VERSION = 0.9
# Customize below to fit your system
# paths
# PREFIX = ${HOME}/.local
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man

37
theme.h Normal file
View File

@ -0,0 +1,37 @@
/*
* Based on Azu theme
*/
static const char *colorname[] = {
/* Colors */
"#212733",
"#AC6D74",
"#74AC6D",
"#ACA46D",
"#6D74AC",
"#A46DAC",
"#6DACA4",
"#E6E6E6",
/* 8 bright colors */
"#262626",
"#D6B8BC",
"#BCD6B8",
"#D6D3B8",
"#B8BCD6",
"#D3B8D6",
"#B8D6D3",
"#C1BDCE",
[256] = "#C1BDCE", /* foreground */
// [257] = "#171F2B", /* background */
[257] = "#212733", /* background */
[258] = "#FFFCF5", /* cursor */
};
unsigned int defaultfg = 256;
unsigned int defaultbg = 257;
unsigned int defaultcs = 258;
static unsigned int defaultrcs = 258;