screenshot: disable rounding and freezing
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
672b4de105
commit
9a4377d6a8
1 changed files with 3 additions and 3 deletions
|
@ -15,9 +15,9 @@ function round() {
|
||||||
# TODO: Use proper flags
|
# TODO: Use proper flags
|
||||||
# TODO: Add clipboard support
|
# TODO: Add clipboard support
|
||||||
if [[ "${1-}" == '-e' ]]; then
|
if [[ "${1-}" == '-e' ]]; then
|
||||||
grimblast --freeze save area - | round | swappy --file -
|
grimblast save area - | swappy --file -
|
||||||
elif [[ "${1-}" == '-d' ]]; then
|
elif [[ "${1-}" == '-d' ]]; then
|
||||||
grimblast --freeze save output - | round > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H.%M.%S').png"
|
grimblast save output - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png"
|
||||||
else
|
else
|
||||||
grimblast --freeze save area - | round > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H.%M.%S').png"
|
grimblast save area - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue