Bläddra i källkod

updated readme

naelstrof 11 år sedan
förälder
incheckning
5d618c63a2
1 ändrade filer med 12 tillägg och 1 borttagningar
  1. 12
    1
      README.md

+ 12
- 1
README.md Visa fil

@@ -9,4 +9,15 @@ features
9 9
 * Clicking on a window makes slrn return the dimensions of the window.
10 10
 * 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.
11 11
 * On startup it turns your cursor into a crosshair, then adjusts the cursor into angles as you drag the selection rectangle.
12
-* Supports simple arguments (change selection rectangle border size, x display, padding, etc. )
12
+* Supports simple arguments (change selection rectangle border size, x display, padding, click tolerance, etc. )
13
+
14
+practical applications
15
+----------------------
16
+slrn can be used to create a video recording script in only two lines of code.
17
+```bash
18
+#!/bin/bash
19
+eval `slrn`
20
+ffmpeg -f x11grab -s "$Wx$H" -i :0.0+$X,$Y -f alsa -i pulse ~/myfile.webm
21
+```
22
+slrn lets you select a region or window and ffmpeg will record it in the format of your choice!
23
+Combined with keybinds and a server on your filesystem you can make a really neat and unobtrusive screenshooter.