add descratcher example

This commit is contained in:
2025-08-20 22:25:40 +02:00
parent 9f08aefcff
commit ce6d836234
3 changed files with 115 additions and 1 deletions

View File

@@ -66,7 +66,10 @@ func main() {
}
```
Also take a look into the **_examples** folder for more examples.
Also take a look into the **_examples** folder for more examples. For
a more comprehensive and practical example look at the
`_examples/descratcher` program which you can use to selectively
retrieve a window from the scratchpad.
You may take a look at the [tool swaycycle](https://github.com/tlinden/swaycycle)
which is using this module.