xcursorlocate

Crates.ioxcursorlocate
lib.rsxcursorlocate
version0.1.1
sourcesrc
created_at2019-11-30 11:31:16.704316
updated_at2019-11-30 11:31:16.704316
descriptioncursor location indicator for X11
homepagehttps://github.com/nerdypepper/xcursorlocate
repositoryhttps://github.com/nerdypepper/xcursorlocate
max_upload_size
id185523
size347,634
Akshay (NerdyPepper)

documentation

README

xcursorlocate

cursor location indicator for x11

preview.gif

install

to build xcursorlocate, you require the libxcb-devel package (please follow these instructions to install cargo and rust).

$ 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:

# ~/.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 directory.

uninstall

:(

$ 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
Commit count: 25

cargo fmt