From 2596996d216d8120db7fbabc5fbffd76b092afc5 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Tue, 20 Jun 2023 23:59:03 +0200 Subject: [PATCH] private browser keybind --- README.md | 2 +- config.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c415d2a..65ec8dc 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config.h b/config.h index f7c22a8..a4b0af8 100644 --- a/config.h +++ b/config.h @@ -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]} },