Replace scrot with maim

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-20 00:40:01 +01:00
parent bdb53fd316
commit 7f0aea1c9b
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail
scrot /tmp/screen.png
maim -u /tmp/screen.png
convert /tmp/screen.png -scale 5% -scale 2000% /tmp/screen.png
if [[ -f ${HOME}/.config/screen-lock.png ]]; then