private browser keybind

This commit is contained in:
Luca Bilke 2023-06-20 23:59:03 +02:00
parent 7b0f1edb65
commit 2596996d21
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ Mod Shift|minus|Switch to horizontal bottom stack layout
# Spawn Programs
Modifier(s)|Key|Action
:--|:--|:--
Mod|t|Spawn a web browser
Mod|t|Spawn a browser window
Mod Shift|t|Spawn a private browser window
Mod|o|Toggle HTOP (Process Manager) scratchpad
Mod Shift|o|Spawn an HTOP (Process Manager) window

View File

@ -71,7 +71,7 @@ static const Rule rules[] = {
{ NULL, "splf", NULL, 'l', 0, 1, 0, 0, .5, .5, .8, .8, -1 },
{ NULL, "sphtop", NULL, 'h', 0, 1, 0, 0, .5, .5, .8, .8, -1 },
{ NULL, "spmix", NULL, 'm', 0, 1, 0, 0, -4, -4, 900, 600, -1 },
{ NULL, "spnmtui", NULL, 'i', 0, 1, 0, 0, -4, -4, .15, .5, -1 },
{ NULL, "spnmtui", NULL, 'i', 0, 1, 0, 0, -4, -4, .3, .6, -1 },
{ NULL, "spwiki", NULL, 'v', 0, 1, 0, 0, .5, .5, .8, .8, -1 },
};
@ -189,7 +189,7 @@ static const Key keys[] = {
{ MODKEY | ShiftMask, XK_d, spawn, {.v = (const char *[]){"dunstctl", "action", "0", NULL}} },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
// { MODKEY | ShiftMask, XK_h, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_t, spawn, {.v = (const char *[]){BROWSER, NULL}} },
{ MODKEY, XK_t, spawn, {.v = (const char *[]){BROWSER, "-new-window", NULL}} },
{ MODKEY | ShiftMask, XK_t, spawn, {.v = (const char *[]){BROWSER, "-private-window", NULL}} },
{ MODKEY, XK_n, setlayout, {.v = &layouts[0]} },
{ MODKEY | ShiftMask, XK_n, setlayout, {.v = &layouts[1]} },