From f4776e01dda9e34664fb6e3c30cbdfe6431c4a48 Mon Sep 17 00:00:00 2001 From: wochap Date: Tue, 12 Mar 2024 17:39:16 +0000 Subject: [PATCH] Add swapandfocusdir --- swapandfocusdir.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 swapandfocusdir.md diff --git a/swapandfocusdir.md b/swapandfocusdir.md new file mode 100644 index 0000000..8eda83f --- /dev/null +++ b/swapandfocusdir.md @@ -0,0 +1,13 @@ +### Description +Focus the window (floating or no) to the left, right, above, or below the current focused window. + +Swap the focused window with the window (no floating) to the left, right, above, or below. + +**NOTE:** this patch uses the same algorithm that River uses to select the window in the given direction. + +### Download +- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/swapandfocusdir) +- [2024-03-05](https://codeberg.org/dwl/dwl-patches/raw/branch/main/swapandfocusdir/swapandfocusdir.patch) + +### Authors +- [wochap](https://codeberg.org/wochap)