aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-03-14 13:30:34 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2022-03-14 13:30:34 +0100
commit217af506308d1486c540a9f8252d8cc5587a20af (patch)
treefb5db36a7975db36195cf01f26ffc8a3b39e0562 /config.h
parentOk (diff)
downloaddwm-217af506308d1486c540a9f8252d8cc5587a20af.tar.gz
dwm-217af506308d1486c540a9f8252d8cc5587a20af.tar.bz2
dwm-217af506308d1486c540a9f8252d8cc5587a20af.tar.xz
dwm-217af506308d1486c540a9f8252d8cc5587a20af.tar.zst
dwm-217af506308d1486c540a9f8252d8cc5587a20af.zip
Firefox changed class for some reason
Diffstat (limited to 'config.h')
-rw-r--r--config.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/config.h b/config.h
index f609f4e..884a98c 100644
--- a/config.h
+++ b/config.h
@@ -28,7 +28,7 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask switchtotag isfloating isfreesize monitor */
- { "Firefox", NULL, NULL, 1 << 2, 1, 0, 0, -1 },
+ { "firefox", NULL, NULL, 1 << 2, 1, 0, 0, -1 },
{ "Chromium-browser", NULL, NULL, 1 << 2, 1, 0, 0, -1 },
{ "VirtualBox Manager", NULL, NULL, 1 << 3, 1, 0, 0, -1 },
{ "Gimp", NULL, NULL, 1 << 3, 1, 0, 0, -1 },
@@ -36,6 +36,7 @@ static const Rule rules[] = {
{ NULL, "org.inkscape.Inkscape", NULL, 1 << 3, 1, 0, 0, -1 },
{ "xterm-256color", NULL, NULL, 0, 0, 0, 0, -1 },
{ "mpv", NULL, NULL, 0, 0, 0, 0, -1 },
+ { "Alacritty", NULL, NULL, 0, 0, 0, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 0, 0, 0, -1 }, /* xev */
};
@@ -87,8 +88,8 @@ static const char *editcmd[] = { "/usr/local/bin/emacsclient", "-c", NULL };
static const char *browsercmd[] = { "/usr/local/bin/firefox", "--kiosk", "https://start.duckduckgo.com/", NULL };
static const char *torbrocmd[] = { "/usr/local/bin/torify", "/usr/local/bin/firefox", "--kiosk", "https://start.duckduckgo.com/", NULL };
static const char *w3mcmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/w3m", "https://start.duckduckgo.com/", NULL };
-static const char *nbcmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/torify", "/usr/local/bin/newsboat", NULL };
-static const char *vimpccmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/vimpc", NULL };
+static const char *nbcmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/newsboat", NULL };
+static const char *ncmpccmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/ncmpc", NULL };
static const char *calcmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/calcurse", "-C", "/home/jozan/.config/calcurse", "-D", "/home/jozan/.local/share/calcurse", NULL };
static const char *sclicmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/scli", NULL };
static const char *muttcmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/neomutt", NULL };
@@ -114,11 +115,11 @@ static Key keys[] = {
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_F1, spawn, {.v = vifmcmd } },
{ MODKEY, XK_F2, spawn, {.v = editcmd } },
- { MODKEY, XK_F3, spawn, {.v = torbrocmd } },
- { MODKEY|ShiftMask, XK_F3, spawn, {.v = browsercmd } },
+ { MODKEY, XK_F3, spawn, {.v = browsercmd } },
+ { MODKEY|ShiftMask, XK_F3, spawn, {.v = torbrocmd } },
{ MODKEY, XK_F4, spawn, {.v = w3mcmd } },
{ MODKEY, XK_F5, spawn, {.v = nbcmd } },
- { MODKEY, XK_F6, spawn, {.v = vimpccmd } },
+ { MODKEY, XK_F6, spawn, {.v = ncmpccmd } },
{ MODKEY, XK_F7, spawn, {.v = calcmd } },
{ MODKEY, XK_F8, spawn, {.v = sclicmd } },
{ MODKEY, XK_F9, spawn, {.v = muttcmd } },