update skipfocus

Dhruva Sambrani 2024-01-08 15:41:47 +01:00
parent 857002666b
commit 85571430c4

@ -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)