diff options
| author | --global <ik.boikov.public@protonmail.com> | 2021-07-15 08:56:58 +0200 |
|---|---|---|
| committer | --global <ik.boikov.public@protonmail.com> | 2021-07-15 08:56:58 +0200 |
| commit | f31b61bc5590a7e814e030ee25eac5da5f2f20c3 (patch) | |
| tree | eaeab58a0b161b2291b8c05ef061f31f8c45efd2 /scripts | |
| parent | fd850fb2ed9870edcb1df205e08e8ccb25fb6760 (diff) | |
lock - rm old screenshot
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/.local/bin/lock | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/.local/bin/lock b/scripts/.local/bin/lock index 017b297..7cdd54d 100755 --- a/scripts/.local/bin/lock +++ b/scripts/.local/bin/lock @@ -5,6 +5,7 @@ tmpbg='/tmp/screen.png' (( $# )) && { icon=$1; } +rm "$tmpbg" scrot "$tmpbg" convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg" convert "$tmpbg" "$icon" -gravity center -composite -matte "$tmpbg" |
