Skip to content

Commit

Permalink
Document how to list available cursors for the current cursor theme
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Winarske <[email protected]>
  • Loading branch information
jwinarske committed May 2, 2024
1 parent d42002a commit 89f8dd9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ Follow these steps to start using the project:
```./examples/simple-egl```
```./examples/simple-shm```

### List available cursors that can be used with `Pointer::set_cursor()`

```
RAW_THEME=`gsettings get org.gnome.desktop.interface cursor-theme`
export CURSOR_THEME=`echo $RAW_THEME | tr -d "\'"`
ls -1 /usr/share/icons/${CURSOR_THEME}/cursors
```


## License

This project is licensed under Apache-2.0.
Expand Down
Empty file added src/window/feedback.cc
Empty file.
Empty file added src/window/feedback.h
Empty file.

0 comments on commit 89f8dd9

Please sign in to comment.