diff --git a/skipfocus.md b/skipfocus.md index 22daff6..f1791ee 100644 --- a/skipfocus.md +++ b/skipfocus.md @@ -1,14 +1,16 @@ ### Description Adds a rule-based ability to skip automatically focusing a window on creation. Expected use-case is for transient windows like notifications etc. The window can still be focused by mouse or keyboard movement. +| `skipfocus` value | effect | +| ----------------- | ------------------ | +| 0 | usual | +| 1 | skipautofocus | +| 2 | skipfocus entirely | + ### Download -- [20240106](https://codeberg.org/dwl/dwl-patches/raw/branch/main/skipfocus/skipfocus.patch) +- [20240108](https://codeberg.org/dwl/dwl-patches/raw/branch/main/skipfocus/skipfocus.patch) - [git branch](https://codeberg.org/dhruva_sambrani/dwl/src/branch/skipfocus) -### Tips - -If you want to completely prevent a window from focusing, you can remove the line in `focusclient` where the client's `skipfocus` is set to 0. Beware, you will lose ALL ability to control the window. - ### Authors - [dhruva_sambrani](https://codeberg.org/dhruva_sambrani)