dmenu bar at bottom

This commit is contained in:
cptbbVM 2023-12-13 12:17:18 +01:00
parent 29e3d42000
commit 2758f3a124
4 changed files with 8 additions and 8 deletions

View File

@ -1,16 +1,16 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */ /* Default settings; can be overriden by command line. */
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int topbar = 0; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */ /* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = { static const char *fonts[] = {
"monospace:size=10" "monospace:size=12"
}; };
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] = { static const char *colors[SchemeLast][2] = {
/* fg bg */ /* fg bg */
[SchemeNorm] = { "#bbbbbb", "#222222" }, [SchemeNorm] = { "#505250", "#A0E418" },
[SchemeSel] = { "#eeeeee", "#005577" }, [SchemeSel] = { "#505250", "#7FB414" },
[SchemeOut] = { "#000000", "#00ffff" }, [SchemeOut] = { "#000000", "#00ffff" },
}; };
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */

View File

@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */ /* Default settings; can be overriden by command line. */
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int topbar = 0; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */ /* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = { static const char *fonts[] = {
"monospace:size=12" "monospace:size=12"

View File

@ -5,13 +5,13 @@ static const unsigned int borderpx = 4; /* border pixel of windows */
static const unsigned int gappx = 10; /* gaps between windows */ static const unsigned int gappx = 10; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */ static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */ static const int topbar = 0; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=12" }; static const char *fonts[] = { "monospace:size=12" };
static const char dmenufont[] = "monospace:size=12"; static const char dmenufont[] = "monospace:size=12";
static const char col_gray1[] = "#A0E418"; static const char col_gray1[] = "#A0E418";
static const char col_gray2[] = "#E5F9BD"; static const char col_gray2[] = "#E5F9BD";
static const char col_gray3[] = "#505250"; static const char col_gray3[] = "#505250";
static const char col_gray4[] = "#505250"; static const char col_gray4[] = "#E5F9BD";
static const char col_cyan[] = "#7FB414"; static const char col_cyan[] = "#7FB414";
static const char *colors[][3] = { static const char *colors[][3] = {
/* fg bg border */ /* fg bg border */

View File

@ -5,7 +5,7 @@ static const unsigned int borderpx = 4; /* border pixel of windows */
static const unsigned int gappx = 10; /* gaps between windows */ static const unsigned int gappx = 10; /* gaps between windows */
static const unsigned int snap = 32; /* snap pixel */ static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */ static const int topbar = 0; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=12" }; static const char *fonts[] = { "monospace:size=12" };
static const char dmenufont[] = "monospace:size=12"; static const char dmenufont[] = "monospace:size=12";
static const char col_gray1[] = "#A0E418"; static const char col_gray1[] = "#A0E418";