Go to file
Martin Tournoij aaefd2efe7
Merge pull request #6 from schuellerf/master
Add inverted color functionality
2018-03-21 04:10:31 +00:00
.gitignore Update README; gitify 2017-03-23 03:27:07 +00:00
.travis.yml Fix 2017-03-23 05:22:35 +00:00
find-cursor.c Rename to outline 2018-03-21 04:06:57 +00:00
LICENSE Use shaped window to pass through mouse events 2017-03-23 05:02:56 +00:00
Makefile Fix warning 2017-12-15 18:21:22 +00:00
README.markdown Make -h fit on 80-column terminals 2017-07-14 21:12:49 +01:00
screenshot.gif Update screenshot 2015-09-10 00:04:35 +02:00

This project is considered stable Build Status

Simple XLib program to highlight the cursor position. This is similar to the feature found in Windows XP (and possibly later?)

screenshot.gif

Using it

Compile it by typing make. Run `find-cursor -h to see some options for controlling the appearance.

  • The author runs it with xcape:

      xcape -e 'Control_L=Escape;Shift_L=KP_Add'  
    

    When Left shift is tapped, a Keypad Add is sent I don't have a numpad on my keyboard which we can then use to launch the program.

  • I configured my window manager (PekWM) to pick up Numpad Add and launch this:

      KeyPress = "KP_Add" { Actions = "Exec find-cursor" }
    

    I'm not going to include instructions for every window manager out there. I'm sure you can figure out how to use it with your WM ;-) You can also use xbindkeys, which should work with $any window manager.

  • You may want to disable shadows if you use compton or some other composite manager; for example for compton start it with:

      compton --shadow-exclude "class_g = 'find-cursor'"
    

    Or, perhaps even better, disable it for all shaped windows:

      compton --shadow-exclude 'bounding_shaped'
    

    You can also put that in the compton config file. Other managers might have different options/flags.