diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-03-16 13:20:48 +0100 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-03-16 13:20:48 +0100 |
commit | e3edd704fb85474bc35478b23ffab048bc1564a7 (patch) | |
tree | b5c4ec4efa57a31991a941499b020aa1ecd8b33e /config.h | |
parent | b0142bb1c8544fb26aebf2062188d628f0105ecd (diff) |
Revert: xresources-20210827-138b405
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 43 |
1 files changed, 11 insertions, 32 deletions
@@ -22,19 +22,19 @@ static const int vertpadbar = gapsize; /* vertical padding for statusba /* monocle mode in presence of several windows. */ /* Modes after showtab_nmodes are disabled */ enum showtab_modes { showtab_never, showtab_auto, showtab_nmodes, showtab_always}; -static const int showtab = showtab_auto; /* Default tab bar show mode */ -static const Bool toptab = False; /* False means bottom tab bar */ +static const int showtab = showtab_auto; /* Default tab bar show mode */ +static const Bool toptab = False; /* False means bottom tab bar */ static char font[] = "JetBrainsMono Nerd Font:size=19:pixelsize=24"; static char dmenufont[] = "JetBrainsMono Nerd Font:size=19:pixelsize=24"; static const char *fonts[] = { font, "Material Icons:size=24" }; -static char normbgcolor[] = "#000000"; -static char normbordercolor[] = "#ffffff"; -static char normfgcolor[] = "#ffffff"; -static char selfgcolor[] = "#000000"; -static char selbordercolor[] = "#ffffff"; -static char selbgcolor[] = "#ffffff"; +static char normbgcolor[] = "#000000"; +static char normbordercolor[] = "#ffffff"; +static char normfgcolor[] = "#ffffff"; +static char selfgcolor[] = "#000000"; +static char selbordercolor[] = "#ffffff"; +static char selbgcolor[] = "#ffffff"; static char *colors[][3] = { /* fg bg border */ @@ -60,9 +60,9 @@ static const Rule rules[] = { }; /* layout(s) */ -static float mfact = 0.55; /* factor of master area size [0.05..0.95] */ -static int nmaster = 1; /* number of clients in master area */ -static int resizehints = 1; /* 1 means respect size hints in tiled resizals */ +static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ +static const int nmaster = 1; /* number of clients in master area */ +static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ static const Layout layouts[] = { @@ -88,27 +88,6 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", normbgcolor, "-x", "10", "-y", "10", "-z", "2860", "-h", "44", NULL }; static const char *termcmd[] = { "st", NULL }; -/* - * Xresources preferences to load at startup - */ -ResourcePref resources[] = { - { "font", STRING, &font }, - { "dmenufont", STRING, &dmenufont }, - { "normbgcolor", STRING, &normbgcolor }, - { "normbordercolor", STRING, &normbordercolor }, - { "normfgcolor", STRING, &normfgcolor }, - { "selbgcolor", STRING, &selbgcolor }, - { "selbordercolor", STRING, &selbordercolor }, - { "selfgcolor", STRING, &selfgcolor }, - { "borderpx", INTEGER, &borderpx }, - { "snap", INTEGER, &snap }, - { "showbar", INTEGER, &showbar }, - { "topbar", INTEGER, &topbar }, - { "nmaster", INTEGER, &nmaster }, - { "resizehints", INTEGER, &resizehints }, - { "mfact", FLOAT, &mfact }, -}; - static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_space, spawn, {.v = dmenucmd } }, |