diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-05-16 00:49:21 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-05-16 00:49:39 +0200 |
commit | 96d6a9fa2db43ca1c1cbad795355f75627c0fca7 (patch) | |
tree | 6bd8e5d264a6738cb9c32d50fedd99906473be21 | |
parent | 2380c5a1b7991f8b2800fcaddeef4f41074727be (diff) |
use pixelate instead of imagemagick
-rwxr-xr-x | bin/guiscripts/locker | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/guiscripts/locker b/bin/guiscripts/locker index 0070a86..972843b 100755 --- a/bin/guiscripts/locker +++ b/bin/guiscripts/locker @@ -1,8 +1,8 @@ #!/bin/sh -which swaylock convert grim > /dev/null || +which swaylock grim pixelate > /dev/null || exit 1 umask 077 file=/tmp/bg.png grim -l 0 - > $file -convert -resize 10% -resize 1000% $file $file -swaylock -i $file +pixelate $file $file +swaylock -u -i $file |