summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-21 20:50:43 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-21 20:50:43 -0400
commit1d39e08012147afe3480c3604df100d6f3ac573b (patch)
treea354831ddc287a6359e732eb9a842d036608b9bd
parentf93a225bb6bbda31d1981f3f8844f4a104b3e787 (diff)
R popups won't get swallowed
-rw-r--r--config.def.h4
-rw-r--r--dwm.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 6c2db1c..1a010b0 100644
--- a/config.def.h
+++ b/config.def.h
@@ -45,6 +45,7 @@ static const Rule rules[] = {
{ "dropdown",NULL, NULL, 0, 1, 1, 0, 0, -1 },
{ "youtube", NULL, NULL, 0, 1, 1, 1, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 0, 1, 0, 1, -1 }, /* xev */
+ { "R_x11", NULL, NULL, 0, 0, 1, 0, 1, -1 }, /* R popup */
};
/* include functions */
@@ -84,7 +85,7 @@ static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_white, "-sb", col_cyan, "-sf", col_gray4, NULL };
-static const char *termcmd[] = { "st", NULL };
+/* static const char *termcmd[] = { "st", NULL }; */
#include "movestack.c"
static Key keys[] = {
@@ -175,6 +176,7 @@ static Signal signals[] = {
{ "fullscreen", fullscreen },
{ "movestack", movestack },
{ "tagmon", tagmon },
+ { "swapmon", swapmon },
{ "zoom", zoom },
{ "view", view },
{ "viewall", viewall },
diff --git a/dwm.c b/dwm.c
index ae533e7..7229e69 100644
--- a/dwm.c
+++ b/dwm.c
@@ -232,7 +232,7 @@ static void seturgent(Client *c, int urg);
static void showhide(Client *c);
static void sigchld(int unused);
static void sigdwmblocks(const Arg *arg);
-static void spawn(const Arg *arg);
+/* static void spawn(const Arg *arg); */
static void swapmon(const Arg *arg);
static void tag(const Arg *arg);
static void tagmon(const Arg *arg);