From 815d696c7a927469c1e1def32c520d342185fd48 Mon Sep 17 00:00:00 2001 From: Mineralwater Xu Date: Wed, 19 May 2021 07:29:59 +0800 Subject: Commit: add element toggle shortcut --- config.h | 2 ++ 1 file changed, 2 insertions(+) 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 } }, -- cgit v1.2.1