~strahinja/dmenu

532c3413668fbd05f98e8171dc875979cb6185b3 — Страхиња Радић 9 months ago 1a13d04
Local changes
3 files changed, 35 insertions(+), 4 deletions(-)

A .gitignore
M config.def.h
A config.h
A .gitignore => .gitignore +8 -0
@@ 0,0 1,8 @@
*~
*.bak
*.orig
*.rej
*.o
dmenu
stest
nohup.out

M config.def.h => config.def.h +4 -4
@@ 4,14 4,14 @@
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=10"
	"PxPlus_IBM_VGA8 Nerd Font:size=12"
};
static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
	/*     fg         bg       */
	[SchemeNorm] = { "#bbbbbb", "#222222" },
	[SchemeSel] = { "#eeeeee", "#005577" },
	[SchemeOut] = { "#000000", "#00ffff" },
	[SchemeNorm] = { "#ffffff", "#121212" },
	[SchemeSel] = { "#ffffff", "#344334" },
	[SchemeOut] = { "#121212", "#a6b5a6" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines      = 0;

A config.h => config.h +23 -0
@@ 0,0 1,23 @@
/* 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     */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
	"PxPlus_IBM_VGA8 Nerd Font:size=12"
};
static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
	/*     fg         bg       */
	[SchemeNorm] = { "#ffffff", "#121212" },
	[SchemeSel] = { "#ffffff", "#344334" },
	[SchemeOut] = { "#121212", "#a6b5a6" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines      = 0;

/*
 * Characters not considered part of a word while deleting words
 * for example: " /?\"&[]"
 */
static const char worddelimiters[] = " ";