Add: hide-cursor-when-typing

Hide the cursor when start typing, and restore it when start moving
cursor again, just like xbanish.
This commit is contained in:
nate zhou
2026-03-08 11:51:28 +08:00
committed by A Frederick Christensen
parent 507f76f981
commit 898bc7a946
2 changed files with 185 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
### Description
Hide the mouse cursor when you start typing, and restore it again when the
mouse cursor moves or a mouse button is pressed, just like
[xbanish](https://github.com/jcs/xbanish).
### credits
Some code is taken from the
[unclutter](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/unclutter) patch.
### Download
[v0.8](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/hide-cursor-when-typing/hide-cursor-when-typing.patch)
### Authors
- [unixchad](https://codeberg.org/unixchad/)