aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/dwm/config.h
diff options
context:
space:
mode:
authorNicholas Noll <nnoll523@gmail.com>2020-07-19 09:28:46 -0700
committerNicholas Noll <nnoll523@gmail.com>2020-07-19 09:28:46 -0700
commita576520dce2a34424af67358e98d79a06e736911 (patch)
tree38ede99a3cc90544c9d119e2b49cc865b240391a /sys/cmd/dwm/config.h
parentd4166afda314d3f3326e9f73659a0b4515f2ae65 (diff)
chore: update
Diffstat (limited to 'sys/cmd/dwm/config.h')
-rw-r--r--sys/cmd/dwm/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cmd/dwm/config.h b/sys/cmd/dwm/config.h
index e0183b6..6866f80 100644
--- a/sys/cmd/dwm/config.h
+++ b/sys/cmd/dwm/config.h
@@ -60,6 +60,8 @@ static Layout layouts[] = {
static char *menucmd[] = { "menu_run", nil };
static char *termcmd[] = { "term", nil };
static char *webscmd[] = { "qutebrowser", nil };
+static char scratchname[] = "scratchpad";
+static char *scratchcmd[] = { "term", "-t", scratchname, "-g", "120x34", nil };
static char *upvolcmd[] = { "vol", "+5%", nil };
static char *lovolcmd[] = { "vol", "-5%", nil };
static char *novolcmd[] = { "vol", "mute", nil };
@@ -76,6 +78,7 @@ static Key keys[] = {
{ 0, XK_upvol, spawn, {.v = upvolcmd} },
{ 0, XK_lovol, spawn, {.v = lovolcmd} },
{ 0, XK_novol, spawn, {.v = novolcmd} },
+ { MODKEY, XK_s, togglescratch, {.v = scratchcmd} },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_f, togglefocus, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },