From 7b0f1edb650b6407bd4b24b34df7729dc19c1e93 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sun, 18 Jun 2023 14:18:33 +0200 Subject: [PATCH] fix some keybinds --- README.md | 7 ++++--- TODO.md | 1 + config.h | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e981a20..c415d2a 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Mod Shift|minus|Switch to horizontal bottom stack layout Modifier(s)|Key|Action :--|:--|:-- Mod|t|Spawn a web browser -Mod Shift|t|Spawn an NMTUI (Network Manager) 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 Mod|e|Toggle LF (File Manager) scratchpad @@ -50,7 +50,8 @@ Mod|backslash|Toggle calculator scratchpad Mod|Return|Spawn a terminal window Mod Shift|Return|Spawn a terminal scratchpad Mod Alt|Return|Spawn a terminal window in working directory of active client -Mod|m|Spawn a music player +Mod|b|Spawn an NMTUI (Network Manager) window +Mod|m|Spawn wiki.vim Mod|w|Spawn Ferdium # System @@ -78,7 +79,7 @@ Mod|p|Play or pause the last active player # Misc. Modifier(s)|Key|Action :--|:--|:-- -Mod|b|Toggle status bar +Mod Shift|b|Toggle status bar Mod|F1|Show this help manual Mod|\`|Spawn emoji/fontawesome picker, immediately paste Mod Shift|\`|Spawn emoji/fontawesome picker, copy to clipboard diff --git a/TODO.md b/TODO.md index a153c2a..b558d8d 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,4 @@ # TODO - [ ] Integrate networkmanager-dmenu (this depends on how I will implement either polkit or sudoers changes) - [ ] Bind to disable touchpad +- [ ] Doublecheck README.md diff --git a/config.h b/config.h index 31603cc..f7c22a8 100644 --- a/config.h +++ b/config.h @@ -190,7 +190,7 @@ static const Key keys[] = { { 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 | ShiftMask, XK_t, togglescratch, {.v = spnmtui} }, + { 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]} }, { MODKEY, XK_s, setlayout, {.v = &layouts[2]} }, @@ -201,7 +201,7 @@ static const Key keys[] = { // { MODKEY | ShiftMask, XK_backslash, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_Return, spawn, {.v = (const char *[]){TERMINAL, "-d", "~", NULL}} }, { MODKEY | ShiftMask, XK_Return, togglescratch, {.v = spterm} }, - { MODKEY | Mod3Mask, XK_Return, spawn, {.v = (const char *[]){"samedir", NULL}} }, + { MODKEY | Mod3Mask, XK_Return, spawn, {.v = (const char *[]){"sd", NULL}} }, // { MODKEY, XK_semicolon, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY | ShiftMask, XK_semicolon, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_q, killclient, {0} }, @@ -212,8 +212,8 @@ static const Key keys[] = { { MODKEY | ShiftMask, XK_k, pushstack, {.i = INC(-1)} }, // { MODKEY, XK_x, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY | ShiftMask, XK_x, spawn, {.v = (const char *[]){NULL}} }, - { MODKEY, XK_b, togglebar, {0} }, - // { MODKEY | ShiftMask, XK_b, spawn, {.v = (const char *[]){NULL}} }, + { MODKEY, XK_b, togglescratch, {.v = spnmtui} }, + { MODKEY | ShiftMask, XK_b, togglebar, {0} }, { MODKEY, XK_m, togglescratch, {.v = spwiki} }, { MODKEY | ShiftMask, XK_m, spawn, {.v = (const char *[]){"pamixer-notify", "-t", NULL}} }, { MODKEY, XK_w, spawn, {.v = (const char *[]){"ferdium", NULL}} },