update prev next binds
This commit is contained in:
parent
24c91568c6
commit
22a1f5e5f2
|
@ -126,9 +126,12 @@ in {
|
||||||
"--whole-window"
|
"--whole-window"
|
||||||
else
|
else
|
||||||
"";
|
"";
|
||||||
prev_binds = map (key: {
|
makePrevNextBindFunction = (prev_or_next:
|
||||||
"${maybe_window key} ${mod}+${key}" = "workspace prev_on_output";
|
map (key: {
|
||||||
}) [
|
"${maybe_window key} ${mod}+${key}" =
|
||||||
|
"workspace ${prev_or_next}_on_output";
|
||||||
|
}));
|
||||||
|
prev_binds = makePrevNextBindFunction "prev" [
|
||||||
key.tabL
|
key.tabL
|
||||||
"bracketleft"
|
"bracketleft"
|
||||||
"Prior"
|
"Prior"
|
||||||
|
@ -136,10 +139,16 @@ in {
|
||||||
"button4"
|
"button4"
|
||||||
"Shift+Tab"
|
"Shift+Tab"
|
||||||
];
|
];
|
||||||
next_binds = map (key: {
|
next_binds = makePrevNextBindFunction "next" [
|
||||||
"${maybe_window key} ${mod}+${key}" = "workspace next_on_output";
|
key.tabR
|
||||||
}) [ key.tabR "bracketright" "Next" "button8" "button5" "Tab" ];
|
"bracketright"
|
||||||
|
"Next"
|
||||||
|
"button8"
|
||||||
|
"button5"
|
||||||
|
"Tab"
|
||||||
|
];
|
||||||
in mergeAttrsSet (prev_binds ++ next_binds);
|
in mergeAttrsSet (prev_binds ++ next_binds);
|
||||||
|
|
||||||
movement_binds = {
|
movement_binds = {
|
||||||
"${mod}+${key.left}" = "focus left";
|
"${mod}+${key.left}" = "focus left";
|
||||||
"${mod}+${key.down}" = "focus down";
|
"${mod}+${key.down}" = "focus down";
|
||||||
|
|
Loading…
Reference in a new issue