add docs, and forgot to change setbarpadding

This commit is contained in:
speedie 2022-11-28 19:26:03 +01:00
parent 780ce66f70
commit 2da40df532
2 changed files with 83 additions and 81 deletions

View file

@ -57,6 +57,8 @@ These keybinds are for navigating speedwm
- Super+Shift+8 - Preview tag 8
- Super+Shift+9 - Preview tag 9
- Super+Shift+q - Close the current window
- Super+Shift+. - Increase bar padding and gaps by 1
- Super+Shift+, - Decrease bar padding and gaps by 1
- Super+Shift+h/j/k/l - Rotates a stack.
- Super+Shift+Arrow - Resizes a window in floating mode
- Super+Shift+Escape - Ask the user if they want to shutdown or reboot or nothing

View file

@ -130,8 +130,8 @@ static Key keys[] = {
{ MODIFIER1|CONTROL|SHIFT, -1, XK_minus, setbarheight, {.i = -1} },
{ MODIFIER1, -1, XK_period, setbarpadding, {.i = +1 } },
{ MODIFIER1, -1, XK_comma, setbarpadding, {.i = -1 } },
{ MODIFIER1|SHIFT, -1, XK_period, setbarpadding, {.i = +1 } },
{ MODIFIER1|SHIFT, -1, XK_comma, setbarpadding, {.i = -1 } },
{ MODIFIER1|SHIFT, -1, XK_period, setbpgaps, {.i = +1 } },
{ MODIFIER1|SHIFT, -1, XK_comma, setbpgaps, {.i = -1 } },
#if USESWITCHER
{ MODIFIER1, -1, XK_Tab, switcherstart, {0} },
#endif
@ -204,7 +204,7 @@ static Key keys[] = {
{ MODIFIER1, XK_t, XK_r, resetbar, {0} },
/* Chained powerline toggle keybinds */
{ MODIFIER1, XK_apostrophe, XK_w, toggletitlepowerline, {0} },
{ MODIFIER1, XK_apostrophe, XK_w, toggletitlepowerline,{0} },
{ MODIFIER1, XK_apostrophe, XK_t, toggletagpowerline, {0} },
{ MODIFIER1, XK_apostrophe, XK_a, toggletitleplshape, {0} },
{ MODIFIER1, XK_apostrophe, XK_d, toggletagplshape, {0} },