diff options
| author | MineralwaterXu <[email protected]> | 2021-01-21 00:02:14 +0800 |
|---|---|---|
| committer | MineralwaterXu <[email protected]> | 2021-01-21 00:02:14 +0800 |
| commit | 617a623890806333b4036249d6260cd6ec3c2272 (patch) | |
| tree | 445f49bde75f0195cb9abe6dd3fbe9321e4a7ec6 /config.h | |
| parent | 64170d4e01093f06c155d3d584de3ed39397bf68 (diff) | |
add firefox profile toggle shortcut
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -90,7 +90,8 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; -static const char *browsercmd[] = { "firefox", 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 *upvol[] = { "/home/mineralwater/scripts/vol-up.sh", NULL }; @@ -105,6 +106,7 @@ static Key keys[] = { { Mod1Mask, XK_F2, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_c, spawn, {.v = browsercmd } }, + { MODKEY|ShiftMask, XK_c, spawn, {.v = browserfuncmd } }, { MODKEY, XK_v, spawn, {.v = telegramcmd } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } }, { 0, XF86XK_AudioMute, spawn, {.v = mutevol } }, |
