mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-27 10:14:16 +00:00
update skipfocus
parent
857002666b
commit
85571430c4
12
skipfocus.md
12
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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user