Browse Source

Updated readme to remove the confusing syntax and added FreeBSD to the package list.

Dalton Nell 9 years ago
parent
commit
6dbcd30dbe
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      README.md

+ 3
- 2
README.md View File

19
 slop can be used to create a video recording script in only two lines of code.
19
 slop can be used to create a video recording script in only two lines of code.
20
 ```bash
20
 ```bash
21
 #!/bin/bash
21
 #!/bin/bash
22
-eval `slop`
22
+eval $(slop)
23
 ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y -f alsa -i pulse ~/myfile.webm
23
 ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y -f alsa -i pulse ~/myfile.webm
24
 ```
24
 ```
25
 slop lets you select a region or window and ffmpeg will record it in the format of your choice!
25
 slop lets you select a region or window and ffmpeg will record it in the format of your choice!
28
 You can also take images using imagemagick like so:
28
 You can also take images using imagemagick like so:
29
 ```bash
29
 ```bash
30
 #!/bin/bash
30
 #!/bin/bash
31
-eval `slop`
31
+eval $(slop)
32
 import -window root -crop $G ~/myimage.png
32
 import -window root -crop $G ~/myimage.png
33
 ```
33
 ```
34
 If you don't like ImageMagick's import: Check out [maim](https://github.com/naelstrof/maim) for a better screenshot utility.
34
 If you don't like ImageMagick's import: Check out [maim](https://github.com/naelstrof/maim) for a better screenshot utility.
64
 
64
 
65
 * [Arch Linux: community/slop](https://www.archlinux.org/packages/community/x86_64/slop/)
65
 * [Arch Linux: community/slop](https://www.archlinux.org/packages/community/x86_64/slop/)
66
 * [Void Linux: slop](https://github.com/voidlinux/void-packages/blob/24ac22af44018e2598047e5ef7fd3522efa79db5/srcpkgs/slop/template)
66
 * [Void Linux: slop](https://github.com/voidlinux/void-packages/blob/24ac22af44018e2598047e5ef7fd3522efa79db5/srcpkgs/slop/template)
67
+* [FreeBSD: x11/slop](http://www.freshports.org/x11/slop/)
67
 * [OpenBSD: graphics/slop](http://openports.se/graphics/slop)
68
 * [OpenBSD: graphics/slop](http://openports.se/graphics/slop)
68
 * [CRUX: 6c37/slop](https://github.com/6c37/crux-ports/tree/master/slop)
69
 * [CRUX: 6c37/slop](https://github.com/6c37/crux-ports/tree/master/slop)
69
 * Please make a package for slop on your favorite system, and make a pull request to add it to this list.
70
 * Please make a package for slop on your favorite system, and make a pull request to add it to this list.