diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-03-16 11:55:07 +0100 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-03-16 11:55:07 +0100 |
commit | 0ae2fa51c323ccdb0b211b24c7df4cb52152cd28 (patch) | |
tree | 664bdfbc81e546debbbdd00c8718e4816232d3a6 /config.h | |
parent | 6df4977981ffc5898db31b3dbe9d29b575993967 (diff) |
Patch: sticky-6.4 & fix compilation
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,11 +1,11 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int snap = 32; /* snap pixel */ -static const int swallowfloating = 0; /* 1 means swallow floating windows by default */ -static const int showbar = 1; /* 0 means no bar */ -static const int topbar = 1; /* 0 means bottom bar */ +static unsigned int borderpx = 1; /* border pixel of windows */ +static unsigned int snap = 32; /* snap pixel */ +static int swallowfloating = 0; /* 1 means swallow floating windows by default */ +static int showbar = 1; /* 0 means no bar */ +static int topbar = 1; /* 0 means bottom bar */ /* Display modes of the tab bar: never shown, always shown, shown only in */ /* monocle mode in presence of several windows. */ @@ -14,8 +14,9 @@ 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 char *fonts[] = { "monospace:size=10" }; -static const char dmenufont[] = "monospace:size=10"; +static char font[] = "monospace:size=10"; +static char dmenufont[] = "monospace:size=10"; +static const char *fonts[] = { font }; static char normbgcolor[] = "#222222"; static char normbordercolor[] = "#444444"; @@ -24,7 +25,7 @@ static char selfgcolor[] = "#eeeeee"; static char selbordercolor[] = "#005577"; static char selbgcolor[] = "#005577"; -static const char *colors[][3] = { +static char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor }, [SchemeSel] = { selfgcolor, selbgcolor, selbordercolor }, |