summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-17 13:30:57 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-17 13:30:57 +0400
commitacabd59afb742821f2d1ca535e3d4efce0632f20 (patch)
tree778b9c53f0a7a890300bf74cbb02f265df33ea39 /config.h
parente70b0cffddf227a01b7085f97e74c847e205e93c (diff)
scratchpad patched and keybinds added
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h b/config.h
index bf30640..c08351e 100644
--- a/config.h
+++ b/config.h
@@ -69,6 +69,9 @@ 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_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *browsercmd[] = { "qutebrowser", NULL };
+static const char scratchpadname[] = "scratchpad";
+static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "70x24", NULL };
+
static const char
*light_up[] = {"slight", "-i", "5", NULL},
@@ -104,6 +107,9 @@ static const Key keys[] = {
{ MODKEY, XK_minus, setgaps, {.i = -1 } },
{ MODKEY, XK_equal, setgaps, {.i = +1 } },
+ { MODKEY, XK_s, togglescratch, {.v = scratchpadcmd } },
+
+
{ 0 , XF86XK_MonBrightnessUp , spawn , {.v = light_up}},
{ 0 , XF86XK_MonBrightnessDown, spawn , {.v = light_down}},
{ 0 , XF86XK_AudioLowerVolume, spawn , {.v = vol_down}},