From 2e782f98575425e7ae35d0c16a54b3b4e5dab09f Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 27 Jul 2023 17:20:20 -0500 Subject: adding tor-browser and keyboard shortcuts --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index b898a9f..e5300f1 100644 --- a/config.def.h +++ b/config.def.h @@ -143,6 +143,7 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, static const char *termcmd[] = { "st", NULL }; static const char *editorcmd[] = { "em", NULL }; static const char *browsercmd[] = { "firefox", NULL }; +static const char *torbrowsercmd[] = { "tor-browser", NULL }; static const char *calccmd[] = { "gnome-calculator", NULL }; #include "selfrestart.c" @@ -153,6 +154,7 @@ static Key keys[] = { { MODKEY, XK_t, spawn, {.v = termcmd } }, { MODKEY, XK_e, spawn, {.v = editorcmd } }, { MODKEY, XK_w, spawn, {.v = browsercmd } }, + { MODKEY|ShiftMask, XK_w, spawn, {.v = torbrowsercmd } }, { MODKEY, XK_x, spawn, {.v = calccmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, -- cgit v1.2.3