Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oppiliappan/xcursorlocate
cursor location indicator for x11
https://github.com/oppiliappan/xcursorlocate
rust utility x11
Last synced: 2 months ago
JSON representation
cursor location indicator for x11
- Host: GitHub
- URL: https://github.com/oppiliappan/xcursorlocate
- Owner: oppiliappan
- License: gpl-3.0
- Created: 2019-11-27T18:02:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T05:54:21.000Z (over 4 years ago)
- Last Synced: 2024-10-11T23:40:05.665Z (3 months ago)
- Topics: rust, utility, x11
- Language: Rust
- Size: 249 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# xcursorlocate
> cursor location indicator for x11
![preview.gif](screencap.gif)
### install
to build `xcursorlocate`, you require the `libxcb-devel`
package (please follow [these](https://www.rust-lang.org/tools/install) instructions to install `cargo` and `rust`).```shell
# from crates.io
$ cargo install xcursorlocate# from github
$ git clone https://github.com/nerdypepper/xcursorlocate
$ cd xcursorlocate
$ cargo install --force --path ./# make sure to add ~/.cargo/bin to your $PATH
```### usage
have your window manager trigger `xcursorlocate` on a key
press, i use `sxhkd` to handle key bindings:
```shell
# ~/.config/sxhkd/sxhkdrc
ctrl + Escape:
xcursorlocate
```### configuration
`xcursorlocate` is configured via a `.toml` file, which is
present in `$XDG_CONFIG_HOME/xcursorlocate`. a basic config
is generated on first run, a sample config can be found in
the [`examples`](./examples/sample_config.toml) directory
(may not always be up to date).### uninstall
:(
```
# using cargo
$ cargo uninstall xcursorlocate# manually
$ rm -rf xcursorlocate/
$ rm -rf ~/.config/xcursorlocate/
$ rm -f $HOME/.cargo/bin/xcursorlocate
```### todo:
- use `xrender` for smooth circles
- use opengl for fancy fx maybe?
- add interface
- ~~toml config~~