shift left|right|up|down
Exchange the current window with the given neighbor.
+ swap
+ Swap the focused window with the last focused window.
+
push left|right|up|down
Push the fence located in the given direction.
- Window move/resize pointer cursor feedbacks (via *util-cursor*).
-- Swap with last focused window message.
- Grow/shrink through swap.
- Send to previous/next desktop.
- Command line completion for *bspc*.
.BI shift " left|right|up|down"
Exchange the current window with the given neighbor.
.TP
+.BI swap
+Swap the focused window with the last focused window.
+.TP
.BI push " left|right|up|down"
Push the fence located in the given direction.
.TP
if (sscanf(arg, "%X", &uid) > 0)
remove_rule_by_uid(uid);
return;
+ } else if (strcmp(cmd, "swap") == 0) {
+ swap_nodes(mon->desk->focus, mon->desk->last_focus);
} else if (strcmp(cmd, "alternate") == 0) {
focus_node(mon, mon->desk, mon->desk->last_focus, true);
return;