parent
e008bb06d5
commit
4e39f0016b
2 changed files with 3 additions and 16 deletions
15
config.h
15
config.h
|
@ -28,7 +28,6 @@ static int tiledindicatortype = INDICATOR_NONE;
|
||||||
static int floatindicatortype = INDICATOR_NONE;
|
static int floatindicatortype = INDICATOR_NONE;
|
||||||
|
|
||||||
static const char font[] = "FiraCode Nerd Font 28";
|
static const char font[] = "FiraCode Nerd Font 28";
|
||||||
static const char dmenufont[] = "FiraCode Nerd Font:pixelsize=14";
|
|
||||||
|
|
||||||
#define NOCOLOR "#FF0000"
|
#define NOCOLOR "#FF0000"
|
||||||
#define COLOR0 "#15161E"
|
#define COLOR0 "#15161E"
|
||||||
|
@ -243,18 +242,6 @@ static const Layout layouts[] = {
|
||||||
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
||||||
|
|
||||||
/* commands */
|
/* commands */
|
||||||
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", selbgcolor,
|
|
||||||
"-sf", selfgcolor,
|
|
||||||
topbar ? NULL : "-b",
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
static const char *termcmd[] = { TERM, TERM_FLAG_EXEC, TERM_START, NULL };
|
static const char *termcmd[] = { TERM, TERM_FLAG_EXEC, TERM_START, NULL };
|
||||||
|
|
||||||
#include <X11/XF86keysym.h>
|
#include <X11/XF86keysym.h>
|
||||||
|
@ -335,7 +322,7 @@ static const Key keys[] = {
|
||||||
// { MODKEY | ShiftMask, XK_o, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY | ShiftMask, XK_o, spawn, {.v = (const char *[]){NULL}} },
|
||||||
{ MODKEY, XK_e, togglescratch, {.v = spfile} },
|
{ MODKEY, XK_e, togglescratch, {.v = spfile} },
|
||||||
// { MODKEY | ShiftMask, XK_e, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY | ShiftMask, XK_e, spawn, {.v = (const char *[]){NULL}} },
|
||||||
{ MODKEY, XK_u, spawn, {.v = dmenucmd} },
|
{ MODKEY, XK_u, spawn, {.v = (const char *[]){"dmenu_run", NULL}} },
|
||||||
// { MODKEY | ShiftMask, XK_u, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY | ShiftMask, XK_u, spawn, {.v = (const char *[]){NULL}} },
|
||||||
{ MODKEY, XK_i, spawn, {.v = (const char *[]){"dunstctl", "close", NULL}} },
|
{ MODKEY, XK_i, spawn, {.v = (const char *[]){"dunstctl", "close", NULL}} },
|
||||||
{ MODKEY | ShiftMask, XK_i, spawn, {.v = (const char *[]){"dunstctl", "history-pop", NULL}} },
|
{ MODKEY | ShiftMask, XK_i, spawn, {.v = (const char *[]){"dunstctl", "history-pop", NULL}} },
|
||||||
|
|
|
@ -303,7 +303,7 @@
|
||||||
* will appear at the bottom and if 1 then dmenu will appear at the top.
|
* will appear at the bottom and if 1 then dmenu will appear at the top.
|
||||||
* https://dwm.suckless.org/patches/dmenumatchtop
|
* https://dwm.suckless.org/patches/dmenumatchtop
|
||||||
*/
|
*/
|
||||||
#define BAR_DMENUMATCHTOP_PATCH 1
|
#define BAR_DMENUMATCHTOP_PATCH 0
|
||||||
|
|
||||||
/* Originally this was the extrabar patch, but as the handling of extra bars is now built-in
|
/* Originally this was the extrabar patch, but as the handling of extra bars is now built-in
|
||||||
* only the splitting of the status by a designated separator remains. As such this has been
|
* only the splitting of the status by a designated separator remains. As such this has been
|
||||||
|
@ -850,7 +850,7 @@
|
||||||
* compilation error because two lines of code hardcode dmenu into dwm.
|
* compilation error because two lines of code hardcode dmenu into dwm.
|
||||||
* https://dwm.suckless.org/patches/nodmenu/
|
* https://dwm.suckless.org/patches/nodmenu/
|
||||||
*/
|
*/
|
||||||
#define NODMENU_PATCH 0
|
#define NODMENU_PATCH 1
|
||||||
|
|
||||||
/* This patch allows for toggleable client button bindings that have no modifiers.
|
/* This patch allows for toggleable client button bindings that have no modifiers.
|
||||||
* This can, for example, allow you to move or resize using the mouse alone without holding
|
* This can, for example, allow you to move or resize using the mouse alone without holding
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue