changes
This commit is contained in:
parent
36d225d71d
commit
c1e643e7db
75
config.h
75
config.h
@ -5,8 +5,8 @@
|
|||||||
*
|
*
|
||||||
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||||
*/
|
*/
|
||||||
static char *font = "mono:pixelsize=12:antialias=true:autohint=true";
|
static char *font = "Cascadia Code:pixelsize=16:antialias=true:autohint=true";
|
||||||
static char *font2[] = { "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" };
|
static char *font2[] = { "NotoColorEmoji:pixelsize=18:antialias=true:autohint=true" };
|
||||||
static int borderpx = 2;
|
static int borderpx = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -17,7 +17,7 @@ static int borderpx = 2;
|
|||||||
* 4: value of shell in /etc/passwd
|
* 4: value of shell in /etc/passwd
|
||||||
* 5: value of shell in config.h
|
* 5: value of shell in config.h
|
||||||
*/
|
*/
|
||||||
static char *shell = "/bin/sh";
|
static char *shell = "/bin/bash";
|
||||||
char *utmp = NULL;
|
char *utmp = NULL;
|
||||||
/* scroll program: to enable use a string like "scroll" */
|
/* scroll program: to enable use a string like "scroll" */
|
||||||
char *scroll = NULL;
|
char *scroll = NULL;
|
||||||
@ -112,29 +112,58 @@ float alphaOffset = 0.0;
|
|||||||
float alphaUnfocus;
|
float alphaUnfocus;
|
||||||
|
|
||||||
/* Terminal colors (16 first used in escape sequence) */
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
|
// static const char *colorname[] = {
|
||||||
|
// "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */
|
||||||
|
// "#cc241d",
|
||||||
|
// "#98971a",
|
||||||
|
// "#d79921",
|
||||||
|
// "#458588",
|
||||||
|
// "#b16286",
|
||||||
|
// "#689d6a",
|
||||||
|
// "#a89984",
|
||||||
|
// "#928374",
|
||||||
|
// "#fb4934",
|
||||||
|
// "#b8bb26",
|
||||||
|
// "#fabd2f",
|
||||||
|
// "#83a598",
|
||||||
|
// "#d3869b",
|
||||||
|
// "#8ec07c",
|
||||||
|
// "#ebdbb2",
|
||||||
|
// [255] = 0,
|
||||||
|
// /* more colors can be added after 255 to use with DefaultXX */
|
||||||
|
// "#add8e6", /* 256 -> cursor */
|
||||||
|
// "#555555", /* 257 -> rev cursor*/
|
||||||
|
// "#282828", /* 258 -> bg */
|
||||||
|
// "#ebdbb2", /* 259 -> fg */
|
||||||
|
// };
|
||||||
static const char *colorname[] = {
|
static const char *colorname[] = {
|
||||||
"#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */
|
/* 8 normal colors */
|
||||||
"#cc241d",
|
"black",
|
||||||
"#98971a",
|
"red3",
|
||||||
"#d79921",
|
"green3",
|
||||||
"#458588",
|
"yellow3",
|
||||||
"#b16286",
|
"blue2",
|
||||||
"#689d6a",
|
"magenta3",
|
||||||
"#a89984",
|
"cyan3",
|
||||||
"#928374",
|
"grey90",
|
||||||
"#fb4934",
|
|
||||||
"#b8bb26",
|
/* 8 bright colors */
|
||||||
"#fabd2f",
|
"gray50",
|
||||||
"#83a598",
|
"red",
|
||||||
"#d3869b",
|
"green",
|
||||||
"#8ec07c",
|
"yellow",
|
||||||
"#ebdbb2",
|
"#5c5cff",
|
||||||
|
"magenta",
|
||||||
|
"cyan",
|
||||||
|
"white",
|
||||||
|
|
||||||
[255] = 0,
|
[255] = 0,
|
||||||
|
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
/* more colors can be added after 255 to use with DefaultXX */
|
||||||
"#add8e6", /* 256 -> cursor */
|
"#cccccc",
|
||||||
"#555555", /* 257 -> rev cursor*/
|
"#555555",
|
||||||
"#282828", /* 258 -> bg */
|
"gray90", /* default foreground color */
|
||||||
"#ebdbb2", /* 259 -> fg */
|
"black", /* default background color */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
4
x.c
4
x.c
@ -918,8 +918,8 @@ xhints(void)
|
|||||||
sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
|
sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
|
||||||
sizeh->height = win.h;
|
sizeh->height = win.h;
|
||||||
sizeh->width = win.w;
|
sizeh->width = win.w;
|
||||||
sizeh->height_inc = win.ch;
|
sizeh->height_inc = 1;
|
||||||
sizeh->width_inc = win.cw;
|
sizeh->width_inc = 1;
|
||||||
sizeh->base_height = 2 * borderpx;
|
sizeh->base_height = 2 * borderpx;
|
||||||
sizeh->base_width = 2 * borderpx;
|
sizeh->base_width = 2 * borderpx;
|
||||||
sizeh->min_height = win.ch + 2 * borderpx;
|
sizeh->min_height = win.ch + 2 * borderpx;
|
||||||
|
Loading…
Reference in New Issue
Block a user