naelstrof f0fd2e23b4 fixed padding issues 11 yıl önce
README.md added some features 11 yıl önce
main.cpp fixed padding issues 11 yıl önce
makefile first commit 11 yıl önce
x.cpp fixed padding issues 11 yıl önce
x.hpp fixed padding issues 11 yıl önce

README.md

slrn

slrn (Select Region) is an application that querys for a selection from the user and prints the region to stdout. It grabs the mouse and turns it into a crosshair, lets the user click and drag to make a selection (or click on a window) while drawing a pretty box around it, then finally prints the selection's dimensions to stdout.

features

  • Hovering over a window will cause a selection rectangle to appear over it.
  • Clicking on a window makes slrn return the dimensions of the window.
  • Clicking and dragging causes a selection rectangle to appear, renders pretty well (compared to scrot). And will return the dimensions of that rectangle in absolute screen coords.
  • On startup it turns your cursor into a crosshair, then adjusts the cursor into angles as you drag the selection rectangle.
  • Supports simple arguments (change selection rectangle border size, x display, padding, etc. )