Iosevka font, Iceberg theme
This commit is contained in:
parent
504d878b0b
commit
bd92e8df38
59
config.def.h
59
config.def.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=16:antialias=true:autohint=true";
|
static char *font = "Iosevka Term:pixelsize=16:antialias=true:autohint=true";
|
||||||
static char *font2[] = { "mono:pixelsize=16:antialias=true:autohint=true" };
|
static char *font2[] = { "Iosevka Term:pixelsize=16:antialias=true:autohint=true" };
|
||||||
static int borderpx = 2;
|
static int borderpx = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -88,44 +88,33 @@ float alpha = 1;
|
|||||||
|
|
||||||
/* Terminal colors (16 first used in escape sequence) */
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
static const char *colorname[] = {
|
static const char *colorname[] = {
|
||||||
/* 8 normal colors */
|
/* 8 normal colors */
|
||||||
"#1f1f1f", /* hard contrast: #1d2021 / soft contrast: #32302f */
|
"#161821", /* black */
|
||||||
"#f81118",
|
"#e27878", /* red */
|
||||||
"#2dc55e",
|
"#b4be82", /* green */
|
||||||
"#ecba0f",
|
"#e2a478", /* yellow */
|
||||||
"#2a84d2",
|
"#84a0c6", /* blue */
|
||||||
"#4e5ab7",
|
"#a093c7", /* magenta */
|
||||||
"#1081d6",
|
"#89b8c2", /* cyan */
|
||||||
"#d6dbe5",
|
"#c6c8d1", /* white */
|
||||||
"#d6dbe5",
|
|
||||||
"#de352e",
|
|
||||||
"#1dd361",
|
|
||||||
"#f3bd09",
|
|
||||||
"#1081d6",
|
|
||||||
"#5350b9",
|
|
||||||
"#0f7ddb",
|
|
||||||
"#ffffff",
|
|
||||||
[255] = 0,
|
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
|
||||||
"#282828", /* 256 -> bg */
|
|
||||||
"#ebdbb2", /* 257 -> fg */
|
|
||||||
"#add8e6", /* 258 -> cursor */
|
|
||||||
|
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
/* 8 bright colors */
|
||||||
"#cccccc",
|
"#6b7089", /* black */
|
||||||
"#555555",
|
"#e98989", /* red */
|
||||||
|
"#c0ca8e", /* green */
|
||||||
|
"#e9b189", /* yellow */
|
||||||
|
"#91acd1", /* blue */
|
||||||
|
"#ada0d3", /* magenta */
|
||||||
|
"#95c4ce", /* cyan */
|
||||||
|
"#d2d4de", /* white */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
unsigned int defaultfg = 7;
|
||||||
/*
|
unsigned int defaultbg = 0;
|
||||||
* Default colors (colorname index)
|
static unsigned int defaultcs = 7;
|
||||||
* foreground, background, cursor, reverse cursor
|
|
||||||
*/
|
|
||||||
unsigned int defaultfg = 257;
|
|
||||||
unsigned int defaultbg = 256;
|
|
||||||
static unsigned int defaultcs = 258;
|
|
||||||
static unsigned int defaultrcs = 0;
|
static unsigned int defaultrcs = 0;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default shape of cursor
|
* Default shape of cursor
|
||||||
* 2: Block ("█")
|
* 2: Block ("█")
|
||||||
|
84
config.h
84
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=16:antialias=true:autohint=true";
|
static char *font = "Iosevka Term:pixelsize=16:antialias=true:autohint=true";
|
||||||
static char *font2[] = { "mono:pixelsize=16:antialias=true:autohint=true" };
|
static char *font2[] = { "Iosevka Term:pixelsize=16:antialias=true:autohint=true" };
|
||||||
static int borderpx = 2;
|
static int borderpx = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -88,44 +88,33 @@ float alpha = 1;
|
|||||||
|
|
||||||
/* Terminal colors (16 first used in escape sequence) */
|
/* Terminal colors (16 first used in escape sequence) */
|
||||||
static const char *colorname[] = {
|
static const char *colorname[] = {
|
||||||
/* 8 normal colors */
|
/* 8 normal colors */
|
||||||
"#1f1f1f", /* hard contrast: #1d2021 / soft contrast: #32302f */
|
"#161821", /* black */
|
||||||
"#f81118",
|
"#e27878", /* red */
|
||||||
"#2dc55e",
|
"#b4be82", /* green */
|
||||||
"#ecba0f",
|
"#e2a478", /* yellow */
|
||||||
"#2a84d2",
|
"#84a0c6", /* blue */
|
||||||
"#4e5ab7",
|
"#a093c7", /* magenta */
|
||||||
"#1081d6",
|
"#89b8c2", /* cyan */
|
||||||
"#d6dbe5",
|
"#c6c8d1", /* white */
|
||||||
"#d6dbe5",
|
|
||||||
"#de352e",
|
|
||||||
"#1dd361",
|
|
||||||
"#f3bd09",
|
|
||||||
"#1081d6",
|
|
||||||
"#5350b9",
|
|
||||||
"#0f7ddb",
|
|
||||||
"#ffffff",
|
|
||||||
[255] = 0,
|
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
|
||||||
"#282828", /* 256 -> bg */
|
|
||||||
"#ebdbb2", /* 257 -> fg */
|
|
||||||
"#add8e6", /* 258 -> cursor */
|
|
||||||
|
|
||||||
/* more colors can be added after 255 to use with DefaultXX */
|
/* 8 bright colors */
|
||||||
"#cccccc",
|
"#6b7089", /* black */
|
||||||
"#555555",
|
"#e98989", /* red */
|
||||||
|
"#c0ca8e", /* green */
|
||||||
|
"#e9b189", /* yellow */
|
||||||
|
"#91acd1", /* blue */
|
||||||
|
"#ada0d3", /* magenta */
|
||||||
|
"#95c4ce", /* cyan */
|
||||||
|
"#d2d4de", /* white */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
unsigned int defaultfg = 7;
|
||||||
/*
|
unsigned int defaultbg = 0;
|
||||||
* Default colors (colorname index)
|
static unsigned int defaultcs = 7;
|
||||||
* foreground, background, cursor, reverse cursor
|
|
||||||
*/
|
|
||||||
unsigned int defaultfg = 257;
|
|
||||||
unsigned int defaultbg = 256;
|
|
||||||
static unsigned int defaultcs = 258;
|
|
||||||
static unsigned int defaultrcs = 0;
|
static unsigned int defaultrcs = 0;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default shape of cursor
|
* Default shape of cursor
|
||||||
* 2: Block ("█")
|
* 2: Block ("█")
|
||||||
@ -167,31 +156,30 @@ static uint forcemousemod = ShiftMask;
|
|||||||
* Beware that overloading Button1 will disable the selection.
|
* Beware that overloading Button1 will disable the selection.
|
||||||
*/
|
*/
|
||||||
static MouseShortcut mshortcuts[] = {
|
static MouseShortcut mshortcuts[] = {
|
||||||
/* mask button function argument release */
|
/* mask button function argument release */
|
||||||
{ Button4, XK_NO_MOD, "\031" },
|
{ Button4, XK_NO_MOD, "\031" },
|
||||||
{ Button5, XK_NO_MOD, "\005" },
|
{ Button5, XK_NO_MOD, "\005" },
|
||||||
{ XK_NO_MOD, Button4, kscrollup, {.i = 1} },
|
|
||||||
{ XK_NO_MOD, Button5, kscrolldown,{.i = 1} },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Internal keyboard shortcuts. */
|
/* Internal keyboard shortcuts. */
|
||||||
#define MODKEY Mod1Mask
|
#define MODKEY Mod1Mask
|
||||||
|
#define TERMMOD (ControlMask|ShiftMask)
|
||||||
|
|
||||||
static Shortcut shortcuts[] = {
|
static Shortcut shortcuts[] = {
|
||||||
/* mask keysym function argument */
|
/* mask keysym function argument */
|
||||||
{ MODKEY, XK_Break, sendbreak, {.i = 0} },
|
{ MODKEY, XK_Break, sendbreak, {.i = 0} },
|
||||||
{ MODKEY, XK_Print, toggleprinter, {.i = 0} },
|
{ MODKEY, XK_Print, toggleprinter, {.i = 0} },
|
||||||
{ MODKEY, XK_Print, printscreen, {.i = 0} },
|
{ MODKEY, XK_Print, printscreen, {.i = 0} },
|
||||||
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
||||||
{ MODKEY, XK_c, clipcopy, {.i = 0} },
|
{ MODKEY, XK_c, clipcopy, {.i = 0} },
|
||||||
{ MODKEY, XK_v, clippaste, {.i = 0} },
|
{ MODKEY, XK_v, clippaste, {.i = 0} },
|
||||||
{ MODKEY, XK_p, selpaste, {.i = 0} },
|
{ MODKEY, XK_p, selpaste, {.i = 0} },
|
||||||
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} },
|
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} },
|
||||||
{ MODKEY, XK_k, kscrollup, {.i = 1} },
|
{ MODKEY, XK_k, kscrollup, {.i = 1} },
|
||||||
{ MODKEY, XK_j, kscrolldown, {.i = 1} },
|
{ MODKEY, XK_j, kscrolldown, {.i = 1} },
|
||||||
{ MODKEY, XK_U, zoom, {.f = +1} },
|
{ MODKEY, XK_U, zoom, {.f = +1} },
|
||||||
{ MODKEY|ShiftMask, XK_U, zoom, {.f = +1} },
|
{ MODKEY|ShiftMask, XK_U, zoom, {.f = +1} },
|
||||||
{ MODKEY|ShiftMask, XK_I, zoom, {.f = -1} },
|
{ MODKEY|ShiftMask, XK_I, zoom, {.f = -1} },
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user