This commit is contained in:
dylan araps 2015-12-30 22:40:58 +11:00
parent be08d17dd7
commit f433e96420
1 changed files with 51 additions and 45 deletions

View File

@ -29,59 +29,65 @@ These are the script's optional dependencies
- Window Manager Detection: wmctrl - Window Manager Detection: wmctrl
- You can manually set this at launch with: - You can manually set this at launch with:
```scrot.sh --winman string``` ```sh
scrot.sh --winman string
```
## Usage ## Usage
usage: scrot.sh [--colors 1 2 4 5] [--kernel "$(uname -rs)"] The whitespace
Info:
--title string Change the title at the top
--distro string/cmd Manually set the distro
--kernel string/cmd Manually set the kernel
--uptime string/cmd Manually set the uptime
--packages string/cmd Manually set the package count
--shell string/cmd Manually set the shell
--winman string/cmd Manually set the window manager
--cpu string/cmd Manually set the cpu name
--memory string/cmd Manually set the memory
--speed string/cmd Manually set the cpu speed
--song string/cmd Manually set the current song
Text Colors: ```
--colors 1 2 3 4 Change the color of text usage: scrot.sh [--colors 1 2 4 5] [--kernel "$(uname -rs)"]
Info:
--title string Change the title at the top
--distro string/cmd Manually set the distro
--kernel string/cmd Manually set the kernel
--uptime string/cmd Manually set the uptime
--packages string/cmd Manually set the package count
--shell string/cmd Manually set the shell
--winman string/cmd Manually set the window manager
--cpu string/cmd Manually set the cpu name
--memory string/cmd Manually set the memory
--speed string/cmd Manually set the cpu speed
--song string/cmd Manually set the current song
Text Colors:
--colors 1 2 3 4 Change the color of text
(title, subtitle, colon, info) (title, subtitle, colon, info)
--titlecol num Change the color of the title --titlecol num Change the color of the title
--subtitlecol num Change the color of the subtitle --subtitlecol num Change the color of the subtitle
--coloncol num Change the color of the colons --coloncol num Change the color of the colons
--infocol num Change the color of the info --infocol num Change the color of the info
Color Blocks: Color Blocks:
--printcols start end Range of colors to print as blocks --printcols start end Range of colors to print as blocks
--nopal Disable the color blocks --nopal Disable the color blocks
Image: Image:
--image Image to display with the script --image Image to display with the script
The image gets priority over other The image gets priority over other
images: (wallpaper, \$img) images: (wallpaper, \$img)
--size px Change the size of the image --size px Change the size of the image
--cropoffset value Change the crop offset. Possible values: --cropoffset value Change the crop offset. Possible values:
northwest, north, northeast, west, center northwest, north, northeast, west, center
east, southwest, south, southeast" east, southwest, south, southeast
--padding How many spaces to pad the text --padding How many spaces to pad the text
to the right to the right
--xoffset px How close the image will be --xoffset px How close the image will be
to the left edge of the window to the left edge of the window
--yoffset px How close the image will be --yoffset px How close the image will be
to the top edge of the window to the top edge of the window
--noimg Disable all images --noimg Disable all images
--nowall Disable the wallpaper function --nowall Disable the wallpaper function
and fallback to \$img and fallback to \$img
--clean Remove all cropped images --clean Remove all cropped images
Other: Other:
--help Print this text and exit --help Print this text and exit
```
## TODO ## TODO