summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index c42a492..a697635 100644
--- a/config.def.h
+++ b/config.def.h
@@ -139,13 +139,14 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
#define TERMINAL_ENVVAR "TERMINAL"
#define BROWSER_ENVVAR "BROWSER"
#define EDITOR_ENVVAR "VISUAL"
-static const char *termcmd[] = { "st", NULL }; // default terminal; respects $TERMINAL env variable
-static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable
-static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable
-static const char *torbrowsercmd[] = { "tor-browser", NULL };
-static const char *bluetoothcmd[] = { "blueman-manager", NULL };
-static const char *screenshotcmd[] = { "screenshotmenu", NULL };
-static const char *exitcmd[] = { "dmenuexitmenu", NULL }; // script that provides exit options
+static const char *termcmd[] = { "st", NULL }; // default terminal; respects $TERMINAL env variable
+static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable
+static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable
+static const char *torbrowsercmd[] = { "tor-browser", NULL };
+static const char *bluetoothcmd[] = { "blueman-manager", NULL };
+static const char *trackpadcmd[] = { "toggle-touchpad", NULL }; // script enables/disables trackpad
+static const char *screenshotcmd[] = { "screenshotmenu", NULL };
+static const char *exitcmd[] = { "dmenuexitmenu", NULL }; // script providing exit options
/* volume control */
static const char *upvol[] = { "pactl", "set-sink-volume", "0", "+5%", NULL };
@@ -213,6 +214,7 @@ static Key keys[] = {
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = downbright } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = upbright } },
{ MODKEY|ShiftMask, XK_b, spawn, {.v = bluetoothcmd } },
+ { MODKEY , XK_F9, spawn, {.v = trackpadcmd } },
{ 0, XK_Print, spawn, {.v = screenshotcmd } },
{ MODKEY|ShiftMask, XK_q, spawn, {.v = exitcmd } },
{ MODKEY|ShiftMask, XK_BackSpace, quit, {0} },