switch space and enter binds
This commit is contained in:
parent
22e85e8257
commit
638eeab3a1
10
README.md
10
README.md
|
@ -16,8 +16,8 @@ Mod Shift|j|Move active client down stack
|
||||||
Mod|k|Focus previous client on stack
|
Mod|k|Focus previous client on stack
|
||||||
Mod Shift|k|Move active client up stack
|
Mod Shift|k|Move active client up stack
|
||||||
Mod|v|Focus first client on stack
|
Mod|v|Focus first client on stack
|
||||||
Mod|space|Move active client to top of stack
|
Mod|Enter|Move active client to top of stack
|
||||||
Mod Shift|space|Make active client float
|
Mod Shift|Enter|Make active client float
|
||||||
|
|
||||||
# Layout Control
|
# Layout Control
|
||||||
Modifier(s)|Key|Action
|
Modifier(s)|Key|Action
|
||||||
|
@ -47,9 +47,9 @@ Mod|e|Toggle LF (File Manager) scratchpad
|
||||||
Mod Shift|e|Spawn an LF (File Manager) window
|
Mod Shift|e|Spawn an LF (File Manager) window
|
||||||
Mod|u|Spawn launcher menu
|
Mod|u|Spawn launcher menu
|
||||||
Mod|backslash|Toggle calculator scratchpad
|
Mod|backslash|Toggle calculator scratchpad
|
||||||
Mod|Return|Spawn a terminal window
|
Mod|Space|Spawn a terminal window
|
||||||
Mod Shift|Return|Spawn a terminal scratchpad
|
Mod Shift|Space|Spawn a terminal scratchpad
|
||||||
Mod Alt|Return|Spawn a terminal window in working directory of active client
|
Mod Alt|Space|Spawn a terminal window in working directory of active client
|
||||||
Mod|b|Spawn an NMTUI (Network Manager) window
|
Mod|b|Spawn an NMTUI (Network Manager) window
|
||||||
Mod|w|Spawn Ferdium
|
Mod|w|Spawn Ferdium
|
||||||
|
|
||||||
|
|
14
config.h
14
config.h
|
@ -199,9 +199,8 @@ static const Key keys[] = {
|
||||||
{ MODKEY | ShiftMask, XK_minus, setlayout, {.v = &layouts[5]} },
|
{ MODKEY | ShiftMask, XK_minus, setlayout, {.v = &layouts[5]} },
|
||||||
{ MODKEY, XK_backslash, togglescratch, {.v = spqalc} },
|
{ MODKEY, XK_backslash, togglescratch, {.v = spqalc} },
|
||||||
// { MODKEY | ShiftMask, XK_backslash, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY | ShiftMask, XK_backslash, spawn, {.v = (const char *[]){NULL}} },
|
||||||
{ MODKEY, XK_Return, spawn, {.v = (const char *[]){TERMINAL, "-d", "~", NULL}} },
|
{ MODKEY, XK_Return, zoom, {0} },
|
||||||
{ MODKEY | ShiftMask, XK_Return, togglescratch, {.v = spterm} },
|
{ MODKEY | ShiftMask, XK_Return, togglefloating, {0} },
|
||||||
{ MODKEY | Mod3Mask, XK_Return, spawn, {.v = (const char *[]){"sd", NULL}} },
|
|
||||||
// { MODKEY, XK_semicolon, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY, XK_semicolon, spawn, {.v = (const char *[]){NULL}} },
|
||||||
// { MODKEY | ShiftMask, XK_semicolon, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY | ShiftMask, XK_semicolon, spawn, {.v = (const char *[]){NULL}} },
|
||||||
{ MODKEY, XK_q, killclient, {0} },
|
{ MODKEY, XK_q, killclient, {0} },
|
||||||
|
@ -218,12 +217,13 @@ static const Key keys[] = {
|
||||||
{ MODKEY | ShiftMask, XK_m, spawn, {.v = (const char *[]){"playerctl", "-a", "stop"}} },
|
{ MODKEY | ShiftMask, XK_m, spawn, {.v = (const char *[]){"playerctl", "-a", "stop"}} },
|
||||||
{ MODKEY, XK_w, spawn, {.v = (const char *[]){"ferdium", NULL}} },
|
{ MODKEY, XK_w, spawn, {.v = (const char *[]){"ferdium", NULL}} },
|
||||||
// { MODKEY | ShiftMask, XK_w, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY | ShiftMask, XK_w, spawn, {.v = (const char *[]){NULL}} },
|
||||||
{ MODKEY, XK_v, focusstack, {.i = 0} },
|
{ MODKEY, XK_v, focusstack, {.i = 0} },
|
||||||
{ MODKEY | ShiftMask, XK_v, pushstack, {.i = 0} },
|
{ MODKEY | ShiftMask, XK_v, pushstack, {.i = 0} },
|
||||||
// { MODKEY, XK_z, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY, XK_z, spawn, {.v = (const char *[]){NULL}} },
|
||||||
// { MODKEY | ShiftMask, XK_z, spawn, {.v = (const char *[]){NULL}} },
|
// { MODKEY | ShiftMask, XK_z, spawn, {.v = (const char *[]){NULL}} },
|
||||||
{ MODKEY, XK_space, zoom, {0} },
|
{ MODKEY, XK_space, spawn, {.v = (const char *[]){TERMINAL, "-d", "~", NULL}} },
|
||||||
{ MODKEY | ShiftMask, XK_space, togglefloating, {0} },
|
{ MODKEY | ShiftMask, XK_space, togglescratch, {.v = spterm} },
|
||||||
|
{ MODKEY | Mod3Mask, XK_space, spawn, {.v = (const char *[]){"sd", NULL}} },
|
||||||
{ 0, XK_Print, spawn, SHCMD("maim ~/Photos/Screenshots/pic-full-$(date '+%y%m%d-%H%M-%S').png") },
|
{ 0, XK_Print, spawn, SHCMD("maim ~/Photos/Screenshots/pic-full-$(date '+%y%m%d-%H%M-%S').png") },
|
||||||
{ ShiftMask, XK_Print, spawn, {.v = (const char *[]){"dmenumaim", NULL}} },
|
{ ShiftMask, XK_Print, spawn, {.v = (const char *[]){"dmenumaim", NULL}} },
|
||||||
// { 0, XK_Print, spawn, SHCMD("flameshot full -p ${XDG_PICTURES_DIR:-$HOME/Pictures}/$(date '+%y%m%d-%H%M-%S').png") },
|
// { 0, XK_Print, spawn, SHCMD("flameshot full -p ${XDG_PICTURES_DIR:-$HOME/Pictures}/$(date '+%y%m%d-%H%M-%S').png") },
|
||||||
|
|
Loading…
Reference in New Issue