summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-05 20:57:24 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-05 20:57:24 +0100
commitf68831a9be67b4f736715ca569a891c729247af6 (patch)
tree9eb1dea92d9ccc0eb1b084db181f035148f6e7be
parent90cf72ad3dde73811f8707b9dab4f6405d4194c3 (diff)
Add bookmark
-rw-r--r--config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.h b/config.h
index 36c08f3..d621263 100644
--- a/config.h
+++ b/config.h
@@ -159,7 +159,6 @@ static Key keys[] = {
{MODKEY, XK_w, spawn, SHCMD("$BROWSER")},
{MODKEY, XK_r, spawn, SHCMD(TERMINAL " -e lf")},
{MODKEY | ShiftMask, XK_r, spawn, SHCMD(TERMINAL " -e btm")},
- {MODKEY, XK_n, spawn, SHCMD(TERMINAL " -e gpuwatch")},
{MODKEY, XK_space, spawn, SHCMD("dmenu_run")},
{MODKEY | ShiftMask, XK_s, spawn, SHCMD("slock")},
{MODKEY, XK_e, spawn,
@@ -202,6 +201,10 @@ static Key keys[] = {
{MODKEY, XK_z, incrgaps, {.i = +3}},
{MODKEY, XK_x, incrgaps, {.i = -3}},
{MODKEY, XK_b, togglebar, {0}},
+ {MODKEY | ShiftMask, XK_b, spawn, SHCMD("bookmarkthis")},
+ {MODKEY, XK_n, spawn,
+ SHCMD("xdotool type $(grep -v '^#' ~/.local/share/snippets | dmenu "
+ "-i -l 50 | cut -d' ' -f1)")},
{MODKEY | ShiftMask, XK_space, togglefloating, {0}},
{MODKEY | ShiftMask, XK_m, spawn,