Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.1 KiB

  1. .Dd $Mdocdate: September 16 2019$
  2. .Dt XBANISH 1
  3. .Os
  4. .Sh NAME
  5. .Nm xbanish
  6. .Nd hide the X11 mouse cursor when a key is pressed
  7. .Sh SYNOPSIS
  8. .Nm
  9. .Op Fl a
  10. .Op Fl d
  11. .Op Fl i Ar modifier
  12. .Op Fl m Ar nw|ne|sw|se
  13. .Sh DESCRIPTION
  14. .Nm
  15. hides the X11 mouse cursor when a key is pressed.
  16. The cursor is shown again when it is moved or a mouse button is pressed.
  17. This is similar to the
  18. .Xr xterm 1
  19. setting
  20. .Ic pointerMode
  21. but the effect is global in the X11 session.
  22. .Sh OPTIONS
  23. .Bl -tag -width Ds
  24. .It Fl a
  25. Always keep mouse cursor hidden while
  26. .Nm
  27. is running.
  28. .It Fl d
  29. Print debugging messages to stdout.
  30. .It Fl i Ar modifier
  31. Ignore pressed key if
  32. .Ar modifier
  33. is used.
  34. Modifiers are:
  35. .Ic shift ,
  36. .Ic lock
  37. (CapsLock),
  38. .Ic control ,
  39. .Ic mod1
  40. (Alt or Meta),
  41. .Ic mod2
  42. (NumLock),
  43. .Ic mod3
  44. (Hyper),
  45. .Ic mod4
  46. (Super, Windows, or Command),
  47. .Ic mod5
  48. (ISO Level 3 Shift), and
  49. .Ic all
  50. (All of the above).
  51. .It Fl m Ar nw|ne|sw|se
  52. When hiding the mouse cursor, move it to this corner of the screen,
  53. then move it back when showing the cursor.
  54. .El
  55. .Sh SEE ALSO
  56. .Xr XFixes 3
  57. .Sh AUTHORS
  58. .Nm
  59. was written by
  60. .An joshua stein Aq Mt jcs@jcs.org .