fix some keybinds

This commit is contained in:
Luca Bilke 2023-06-18 14:18:33 +02:00
parent 7e603bf231
commit 7b0f1edb65
3 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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}} },