mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-28 18:44:22 +00:00
update skipfocus
parent
857002666b
commit
85571430c4
12
skipfocus.md
12
skipfocus.md
@ -1,14 +1,16 @@
|
|||||||
### Description
|
### 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.
|
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
|
### 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)
|
- [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
|
### Authors
|
||||||
- [dhruva_sambrani](https://codeberg.org/dhruva_sambrani)
|
- [dhruva_sambrani](https://codeberg.org/dhruva_sambrani)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user