瀏覽代碼

updated readme

naelstrof 10 年之前
父節點
當前提交
806b91850e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

@@ -17,7 +17,7 @@ slrn can be used to create a video recording script in only two lines of code.
17 17
 ```bash
18 18
 #!/bin/bash
19 19
 eval `slrn`
20
-ffmpeg -f x11grab -s "$Wx$H" -i :0.0+$X,$Y -f alsa -i pulse ~/myfile.webm
20
+ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y -f alsa -i pulse ~/myfile.webm
21 21
 ```
22 22
 slrn lets you select a region or window and ffmpeg will record it in the format of your choice!
23 23
 Combined with keybinds and a server on your filesystem you can make a really neat and unobtrusive screenshooter.