aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-27 22:12:10 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-27 22:12:10 -0500
commit2d7bb2b193658a94b52277beef90168014f778e9 (patch)
treec70643f0cf8930c45abd4367c17e04b7e85bc316
parent58e18d86a798b4487375f19bcfcdcf9283a56f6e (diff)
downloaddwm-2d7bb2b193658a94b52277beef90168014f778e9.tar.gz
dwm-2d7bb2b193658a94b52277beef90168014f778e9.tar.xz
Add the pastemenu to the dwm config
-rw-r--r--config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.h b/config.h
index 6a6856f..33d2c9a 100644
--- a/config.h
+++ b/config.h
@@ -91,13 +91,14 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", DMENU_FLAGS, NULL };
static const char *ddmenucmd[] = { "ddmenu", DMENU_FLAGS, NULL };
-// static const char *termcmd[] = { "st", NULL };
-static const char *termcmd[] = { "xfce4-terminal", NULL };
+static const char *termcmd[] = { "st", NULL };
+// static const char *termcmd[] = { "xfce4-terminal", NULL };
static const char *termcmdLarge[] = { "st", "-f", PROFONT_LARGE, NULL };
static const char *termcmdYuge[] = { "st", "-f", TERMINUS_YUGE, NULL };
static const char *passcmd[] = { "dpw-menu", DMENU_FLAGS, NULL };
static const char *passcmd_type[] = { "dpw-menu", "--type", DMENU_FLAGS, NULL };
static const char *passcmd_otp_type[] = { "dpw-menu", "--type", "--otp", DMENU_FLAGS, NULL };
+static const char *pastemenu[] = { "pm", NULL };
static const char *snip_cmd[] = { "snipmenu", DMENU_FLAGS, NULL };
static const char *screenshot_cmd[] = { "xfce4-screenshooter", NULL };
static const char *file_cmd[] = { "thunar", NULL };
@@ -119,6 +120,7 @@ static Key keys[] = {
{ MODKEY, XK_o, spawn, {.v = passcmd_type } },
{ MODKEY|ControlMask, XK_o, spawn, {.v = passcmd_otp_type } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = snip_cmd } },
+ { MODKEY, XK_backslash, spawn, {.v = pastemenu } },
{ MODKEY|ControlMask, XK_f, spawn, {.v = file_cmd } },
{ MODKEY|ControlMask, XK_l, spawn, {.v = slock_cmd } },
{ MODKEY|ControlMask, XK_m, spawn, {.v = monitor_cmd } },