summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-10-25 00:41:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-10-25 00:41:58 +0200
commit0d1140ef20adb2a7071466cef5aeb87556496879 (patch)
tree025e738e9193a2156cbbe06d8d40c32a0f1c6190 /config.h
parent1eb5fc51dcd29e100d67f8b1b05853c61745041e (diff)
Remove const in config
This fixes a compile bug that complained about fonts being const char * instead of char *
Diffstat (limited to 'config.h')
-rw-r--r--config.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/config.h b/config.h
index d6530b2..dc8b21c 100644
--- a/config.h
+++ b/config.h
@@ -8,16 +8,16 @@
/* appearance */
static unsigned int borderpx = 1; /* border pixel of windows */
static unsigned int snap = 32; /* snap pixel */
-static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
-static const unsigned int gappih = 20; /* horiz inner gap between windows */
-static const unsigned int gappiv = 10; /* vert inner gap between windows */
-static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
-static const unsigned int gappov = 30; /* vert outer gap between windows and screen edge */
-static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
+static int swallowfloating = 0; /* 1 means swallow floating windows by default */
+static unsigned int gappih = 20; /* horiz inner gap between windows */
+static unsigned int gappiv = 10; /* vert inner gap between windows */
+static unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
+static unsigned int gappov = 30; /* vert outer gap between windows and screen edge */
+static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
static int showbar = 1; /* 0 means no bar */
static int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "monospace:size=8", "Symbols Nerd Font:style=Regular:pixelsize=12:antialias=true:autohint=true" };
-static const char dmenufont[] = "monospace:size=8";
+static char *fonts[] = { "monospace:size=8", "Symbols Nerd Font:style=Regular:pixelsize=12:antialias=true:autohint=true" };
+static char dmenufont[] = "monospace:size=8";
static char normbgcolor[] = "#000000";
static char normbordercolor[] = "#000000";
static char normfgcolor[] = "#eeeeee";