define TERMINAL and BROWSER variables
parent
e9209fa34f
commit
07caa91f0e
11
config.def.h
11
config.def.h
|
@ -1,5 +1,10 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
|
/* Constants */
|
||||||
|
#define TERMINAL "st"
|
||||||
|
#define TERMCLASS "St"
|
||||||
|
#define BROWSER "librewolf"
|
||||||
|
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static unsigned int borderpx = 1; /* border pixel of windows */
|
static unsigned int borderpx = 1; /* border pixel of windows */
|
||||||
static unsigned int snap = 32; /* snap pixel */
|
static unsigned int snap = 32; /* snap pixel */
|
||||||
|
@ -24,8 +29,8 @@ typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
const void *cmd;
|
const void *cmd;
|
||||||
} Sp;
|
} Sp;
|
||||||
const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL };
|
const char *spcmd1[] = {TERMINAL, "-n", "spterm", "-g", "120x34", NULL };
|
||||||
const char *spcmd2[] = {"st", "-n", "spcalc", "-f", "monospace:size=16", "-g", "50x20", "-e", "bc", "-lq", NULL };
|
const char *spcmd2[] = {TERMINAL, "-n", "spcalc", "-f", "monospace:size=16", "-g", "50x20", "-e", "bc", "-lq", NULL };
|
||||||
static Sp scratchpads[] = {
|
static Sp scratchpads[] = {
|
||||||
/* name cmd */
|
/* name cmd */
|
||||||
{"spterm", spcmd1},
|
{"spterm", spcmd1},
|
||||||
|
@ -73,7 +78,7 @@ static const Layout layouts[] = {
|
||||||
/* commands */
|
/* commands */
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
||||||
static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { TERMINAL, NULL };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Xresources preferences to load at startup
|
* Xresources preferences to load at startup
|
||||||
|
|
Loading…
Reference in New Issue