added keepassxc and renamed some tag refs

This commit is contained in:
celso 2023-07-17 19:53:49 -03:00
parent 6a12c68259
commit a178d341ff
1 changed files with 7 additions and 4 deletions

View File

@ -37,9 +37,10 @@ static const Rule rules[] = {
{ "Pale moon", "DTA", NULL, 2, 1, -1 }, { "Pale moon", "DTA", NULL, 2, 1, -1 },
{ "Pale moon", "Global", NULL, 2, 1, -1 }, { "Pale moon", "Global", NULL, 2, 1, -1 },
{ "Chromium-browser-chromium", "chromium-browser-chromium", NULL, 6, 0, -1 }, { "Chromium-browser-chromium", "chromium-browser-chromium", NULL, 6, 0, -1 },
{ "TelegramDesktop", "telegram-desktop", "Media viewer", 1 << 2, 1, -1 }, { "TelegramDesktop", "telegram-desktop", "Media viewer", 0, 1, -1 },
{ "TelegramDesktop", "telegram-desktop", NULL, 1 << 2, 0, -1 }, { "TelegramDesktop", "telegram-desktop", NULL, 3, 0, -1 },
{ "mpv", NULL, NULL, 1 << 3, 0, -1 }, { "keepassxc", "KeePassXC", NULL, 0, 1, -1 },
{ "mpv", NULL, NULL, 4, 0, -1 },
{ "floatalsamxr", NULL, NULL, 0, 1, -1 }, { "floatalsamxr", NULL, NULL, 0, 1, -1 },
{ "QjackCtl", "qjackctl", NULL, 0, 1, -1 }, { "QjackCtl", "qjackctl", NULL, 0, 1, -1 },
{ "Nextcloud", "nextcloud", NULL, 0, 1, -1 }, { "Nextcloud", "nextcloud", NULL, 0, 1, -1 },
@ -92,6 +93,7 @@ static const char *palemooncmd[] = { "palemoon", NULL };
static const char *chromiumcmd[] = { "chromium", NULL }; static const char *chromiumcmd[] = { "chromium", NULL };
static const char *nextcloudcmd[] = { "nextcloud", NULL }; static const char *nextcloudcmd[] = { "nextcloud", NULL };
static const char *xfecmd[] = { "xfe", NULL }; static const char *xfecmd[] = { "xfe", NULL };
static const char *keepassxccmd[] = { "keepassxc", NULL };
static const Key keys[] = { static const Key keys[] = {
/* modifier key function argument */ /* modifier key function argument */
@ -107,6 +109,7 @@ static const Key keys[] = {
{ MODKEY, XK_n, spawn, {.v = nextcloudcmd } }, { MODKEY, XK_n, spawn, {.v = nextcloudcmd } },
{ MODKEY, XK_c, spawn, {.v = chromiumcmd } }, { MODKEY, XK_c, spawn, {.v = chromiumcmd } },
{ MODKEY|ShiftMask, XK_x, spawn, {.v = xfecmd } }, { MODKEY|ShiftMask, XK_x, spawn, {.v = xfecmd } },
{ MODKEY, XK_x, spawn, {.v = keepassxccmd } },
{ MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } },