options.ggo 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. package "slop"
  2. version "v3.1.3"
  3. usage "slop [options]"
  4. description "slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout."
  5. versiontext "Copyright (C) 2014 Dalton Nell, GPLv3"
  6. text "Options"
  7. option "xdisplay" - "Sets the x display."
  8. string
  9. typestr="hostname:number.screen_number"
  10. default=":0"
  11. optional
  12. option "nokeyboard" - "Disables the ability to cancel selections with the keyboard."
  13. flag
  14. off
  15. option "bordersize" b "Set the selection rectangle's thickness. Does nothing when --highlight is enabled."
  16. int
  17. default="5"
  18. optional
  19. option "padding" p "Set the padding size of the selection. Can be negative."
  20. int
  21. default="0"
  22. optional
  23. option "tolerance" t "How far in pixels the mouse can move after clicking and still be detected as a normal click instead of a click and drag. Setting this to 0 will disable window selections."
  24. int
  25. default="2"
  26. optional
  27. option "gracetime" g "Set the amount of time before slop will check for keyboard cancellations in seconds."
  28. string
  29. typestr="FLOAT"
  30. default="0.4"
  31. optional
  32. option "color" c "Set the selection rectangle's color. Supports RGB or RGBA values."
  33. string
  34. typestr="FLOAT,FLOAT,FLOAT,FLOAT"
  35. default="0.5,0.5,0.5,1"
  36. optional
  37. option "nodecorations" n "Attempt to select child windows in order to avoid window decorations."
  38. flag
  39. off
  40. option "min" - "Set the minimum output of width or height values. This is useful to avoid outputting 0. Setting min and max to the same value disables drag selections."
  41. int
  42. default="0"
  43. optional
  44. option "max" - "Set the maximum output of width or height values. Setting min and max to the same value disables drag selections."
  45. int
  46. default="0"
  47. optional
  48. option "highlight" l "Instead of outlining selections, slop highlights it. This is only useful when --color is set to a transparent color."
  49. flag
  50. off
  51. text "\nExamples\n"
  52. text " $ # Gray, thick, transparent border for maximum visiblity.\n"
  53. text " $ slop -b 20 -c 0.5,0.5,0.5,0.8\n"
  54. text "\n"
  55. text " $ # Remove window decorations.\n"
  56. text " $ slop --nodecorations\n"
  57. text "\n"
  58. text " $ # Disable window selections. Useful for selecting individual pixels.\n"
  59. text " $ slop -t 0\n"
  60. text "\n"
  61. text " $ # Classic Windows XP selection.\n"
  62. text " $ slop -l -c 0.3,0.4,0.6,0.4\n"