aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-19 10:37:51 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-19 10:37:51 +0200
commit87df7cb211a876168ae55d094bcf891023226728 (patch)
treecf7f715455e074c4391cc0ff633322cf2bdb5642 /config.h
parentu (diff)
downloaddwm-87df7cb211a876168ae55d094bcf891023226728.tar.gz
dwm-87df7cb211a876168ae55d094bcf891023226728.tar.bz2
dwm-87df7cb211a876168ae55d094bcf891023226728.tar.xz
dwm-87df7cb211a876168ae55d094bcf891023226728.tar.zst
dwm-87df7cb211a876168ae55d094bcf891023226728.zip
Keybound pass-otp script
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
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 } },