add dmenu dark and light variants
This commit is contained in:
11
x.c
11
x.c
@@ -66,6 +66,16 @@ void kscrolldown(const Arg *);
|
||||
/* config.h for applying patches and the configuration. */
|
||||
#include "config.h"
|
||||
|
||||
char **externalcopycmd()
|
||||
{
|
||||
return (lightmode) ? externalcopylightcmd : externalcopydarkcmd;
|
||||
}
|
||||
|
||||
char **externalpastecmd()
|
||||
{
|
||||
return (lightmode) ? externalpastelightcmd : externalpastedarkcmd;
|
||||
}
|
||||
|
||||
/* XEMBED messages */
|
||||
#define XEMBED_FOCUS_IN 4
|
||||
#define XEMBED_FOCUS_OUT 5
|
||||
@@ -2109,6 +2119,7 @@ xrdb_load(void)
|
||||
XRESOURCE_LOAD_INTEGER("bellvolume", bellvolume);
|
||||
XRESOURCE_LOAD_INTEGER("borderpx", borderpx);
|
||||
XRESOURCE_LOAD_INTEGER("cursorshape", cursorshape);
|
||||
XRESOURCE_LOAD_INTEGER("lightmode", lightmode);
|
||||
|
||||
XRESOURCE_LOAD_FLOAT("cwscale", cwscale);
|
||||
XRESOURCE_LOAD_FLOAT("chscale", chscale);
|
||||
|
||||
Reference in New Issue
Block a user