adds an alternative way to handle swapfocus, not allowing changing tags

This commit is contained in:
André Desgualdo Pereira
2026-05-21 09:59:17 -03:00
parent 1f0e82bf5d
commit bbe1199e40
2 changed files with 53 additions and 8 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
### Description
Swapfocus adds a new function on dwl: a shortcut to change the focus to the last focused window. If the last focused window is in another tag, then the focus will change to that tag.
Swapfocus adds a new function on dwl: a shortcut to change the focus to the last focused window.
- If the last focused window is in another tag, then the focus will change to that tag.
- Alternatively: check the patch and uncomment and comment out the lines instructed to keep the swapfocus shortcut from changing to another tag.
### Download
- [v0.8](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/swapfocus/swapfocus.patch)