diff options
author | Luke Smith <luke@lukesmith.xyz> | 2018-07-07 03:28:01 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2018-07-07 03:28:01 -0400 |
commit | 7f231a6b5400933aee77daa2396db490067b644c (patch) | |
tree | 8dc82eb6fff01ad7d6c498d2e547df70b0b7c443 /config.h | |
parent | 195535faccf91b35322fe54e54237152bccad703 (diff) |
xresources patch now default
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 37 |
1 files changed, 36 insertions, 1 deletions
@@ -83,7 +83,7 @@ char *termname = "st-256color"; unsigned int tabspaces = 8; /* bg opacity */ -unsigned int alpha = 0xcd; +unsigned int alpha = 0xed; static const char *colorname[] = { "#073642", /* 0: black */ @@ -148,6 +148,41 @@ static unsigned int mousebg = 0; static unsigned int defaultattr = 11; /* + * Xresources preferences to load at startup + */ +ResourcePref resources[] = { + { "font", STRING, &font }, + { "color0", STRING, &colorname[0] }, + { "color1", STRING, &colorname[1] }, + { "color2", STRING, &colorname[2] }, + { "color3", STRING, &colorname[3] }, + { "color4", STRING, &colorname[4] }, + { "color5", STRING, &colorname[5] }, + { "color6", STRING, &colorname[6] }, + { "color7", STRING, &colorname[7] }, + { "color8", STRING, &colorname[8] }, + { "color9", STRING, &colorname[9] }, + { "color10", STRING, &colorname[10] }, + { "color11", STRING, &colorname[11] }, + { "color12", STRING, &colorname[12] }, + { "color13", STRING, &colorname[13] }, + { "color14", STRING, &colorname[14] }, + { "color15", STRING, &colorname[15] }, + { "background", STRING, &colorname[256] }, + { "foreground", STRING, &colorname[257] }, + { "cursorColor", STRING, &colorname[258] }, + { "termname", STRING, &termname }, + { "shell", STRING, &shell }, + { "xfps", INTEGER, &xfps }, + { "actionfps", INTEGER, &actionfps }, + { "blinktimeout", INTEGER, &blinktimeout }, + { "bellvolume", INTEGER, &bellvolume }, + { "tabspaces", INTEGER, &tabspaces }, + { "cwscale", FLOAT, &cwscale }, + { "chscale", FLOAT, &chscale }, +}; + +/* * Internal mouse shortcuts. * Beware that overloading Button1 will disable the selection. */ |