summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMineralwater Xu <[email protected]>2021-05-19 07:29:59 +0800
committerMineralwater Xu <[email protected]>2021-05-19 07:29:59 +0800
commit815d696c7a927469c1e1def32c520d342185fd48 (patch)
treec7423b9591e7e1dc2806d2493e6486b1fc698671 /config.h
parent617a623890806333b4036249d6260cd6ec3c2272 (diff)
Commit: add element toggle shortcut
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 86b16da..04d8350 100644
--- a/config.h
+++ b/config.h
@@ -93,6 +93,7 @@ static const char *termcmd[] = { "st", NULL };
static const char *browsercmd[] = { "/home/mineralwater/scripts/firefox-toggle.sh", NULL };
static const char *browserfuncmd[] = { "/home/mineralwater/scripts/firefox-fun-toggle.sh", NULL };
static const char *telegramcmd[] = { "/home/mineralwater/scripts/telegram-toggle.sh", NULL };
+static const char *elementcmd[] = { "/home/mineralwater/scripts/element-toggle.sh", NULL};
static const char *upvol[] = { "/home/mineralwater/scripts/vol-up.sh", NULL };
static const char *downvol[] = { "/home/mineralwater/scripts/vol-down.sh", NULL };
@@ -108,6 +109,7 @@ static Key keys[] = {
{ MODKEY, XK_c, spawn, {.v = browsercmd } },
{ MODKEY|ShiftMask, XK_c, spawn, {.v = browserfuncmd } },
{ MODKEY, XK_v, spawn, {.v = telegramcmd } },
+ { MODKEY, XK_V, spawn, {.v = elementcmd } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioMute, spawn, {.v = mutevol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },