From 87df7cb211a876168ae55d094bcf891023226728 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 19 May 2022 10:37:51 +0200 Subject: Keybound pass-otp script --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 7c72f1a..fa663de 100644 --- a/config.h +++ b/config.h @@ -82,6 +82,7 @@ static const char *dmscrotcmd[] = { "/home/jozan/.local/bin/dmscrot", NULL }; static const char *dmlogcmd[] = { "/home/jozan/.local/bin/dmlog", NULL }; static const char *dmpassfullcmd[] = { "/home/jozan/.local/bin/dmpass", "--full", NULL }; static const char *dmpasscmd[] = { "/home/jozan/.local/bin/dmpass", NULL }; +static const char *dmotpcmd[] = { "/home/jozan/.local/bin/dmotp", NULL }; static const char *ndatecmd[] = { "/home/jozan/.local/bin/ndate", NULL }; static const char *filecmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/zsh", "-ic", "/usr/local/bin/lf", NULL }; static const char *editcmd[] = { "/usr/local/bin/emacsclient", "-c", NULL }; @@ -144,6 +145,7 @@ static Key keys[] = { { MODKEY, XK_BackSpace, spawn, {.v = dmpccmd } }, { MODKEY|ControlMask, XK_p, spawn, {.v = dmpasscmd } }, { MODKEY|ControlMask|ShiftMask, XK_p, spawn, {.v = dmpassfullcmd } }, + { MODKEY|ControlMask, XK_o, spawn, {.v = dmotpcmd } }, { MODKEY, XK_End, spawn, {.v = ndatecmd } }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = blinccmd } }, { 0, XF86XK_MonBrightnessDown, spawn, {.v = bldeccmd } }, -- cgit v1.2.3