mirror of
https://github.com/swaywm/sway.git
synced 2026-07-12 11:03:58 -04:00
swaygrab: Add support for custom filetypes
Adds the option `-t, --type <filetype>` which can be used to select the filetype of the produced image/video. This will only take effect if you don't pass a filename to swaygrab e.g. let swaygrab use the default date based filename.
This commit is contained in:
parent
3777c8993b
commit
59c5aee1cc
2 changed files with 22 additions and 4 deletions
|
|
@ -38,6 +38,11 @@ Options
|
|||
Use the specified socket path. Otherwise, swaymsg will ask sway where the
|
||||
socket is (which is the value of $SWAYSOCK, then of $I3SOCK).
|
||||
|
||||
*-t, --type* <filetype>::
|
||||
Specify the image/video filetype to produce. If no type is defined it will
|
||||
default to png for images and webm for videos. If _file_ is specified this
|
||||
option will not take effect.
|
||||
|
||||
*-r, --rate* <rate>::
|
||||
Specify a framerate (in frames per second). Used in combination with -c.
|
||||
Default is 30. Must be an integer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue