summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-12-26 14:16:42 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-12-26 14:16:42 +0100
commit07d64a9a936fa917747437c4e05100415c9f72ea (patch)
treef4982a0f4235d4eb8311f7f089d4bef378f9ffe3
parentd073082cb5defaaeb0d93a299c518778481efacb (diff)
Format config.h
-rw-r--r--config.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/config.h b/config.h
index b0a645c..2635fa2 100644
--- a/config.h
+++ b/config.h
@@ -1,30 +1,29 @@
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
-static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
+static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
- "monospace:size=8",
- "JoyPixels:pixelsize=8:antialias=true:autohint=true"
-};
+ "monospace:size=8", "JoyPixels:pixelsize=8:antialias=true:autohint=true"};
static const unsigned int bgalpha = 0xe0;
static const unsigned int fgalpha = OPAQUE;
-static const char *prompt = NULL; /* -p option; prompt to the left of input field */
+static const char *prompt =
+ NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
- /* fg bg */
- [SchemeNorm] = { "#bbbbbb", "#080808" },
- [SchemeSel] = { "#eeeeee", "#005577" },
- [SchemeOut] = { "#080808", "#00ffff" },
+ /* fg bg */
+ [SchemeNorm] = {"#bbbbbb", "#080808"},
+ [SchemeSel] = {"#eeeeee", "#005577"},
+ [SchemeOut] = {"#080808", "#00ffff"},
};
static const unsigned int alphas[SchemeLast][2] = {
- /* fgalpha bgalphga */
- [SchemeNorm] = { fgalpha, bgalpha },
- [SchemeSel] = { fgalpha, bgalpha },
- [SchemeOut] = { fgalpha, bgalpha },
+ /* fgalpha bgalphga */
+ [SchemeNorm] = {fgalpha, bgalpha},
+ [SchemeSel] = {fgalpha, bgalpha},
+ [SchemeOut] = {fgalpha, bgalpha},
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
-static unsigned int lines = 0;
+static unsigned int lines = 0;
/*
* * Characters not considered part of a word while deleting words