Parcourir la source

updated readme

naelstrof il y a 11 ans
Parent
révision
5d618c63a2
1 fichiers modifiés avec 12 ajouts et 1 suppressions
  1. 12
    1
      README.md

+ 12
- 1
README.md Voir le fichier

9
 * Clicking on a window makes slrn return the dimensions of the window.
9
 * Clicking on a window makes slrn return the dimensions of the window.
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.
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
 * On startup it turns your cursor into a crosshair, then adjusts the cursor into angles as you drag the selection rectangle.
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.