From 8a0b469ede140bde944700199eaca860831c6842 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 31 May 2019 17:10:27 +0200 Subject: [PATCH] Use maim instead of scrot --- PKGBUILD | 4 ++-- lock | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index d7a98ac..9e4ac7c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ arch=('i686' 'x86_64') license=('MIT') options=(zipman) depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu') -optdepends=('corrupter') +optdepends=('corrupter' 'maim' 'i3lock') install=dwm.install _patches=( @@ -36,7 +36,7 @@ source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz md5sums=('9929845ccdec4d2cc191f16210dd7f3d' 'dda4ab6363b58a3b8e2cacf7166b6f74' '939f403a71b6e85261d09fc3412269ee' - '10bd3378b4b4aa7a2e4ed8685cea1be6' + '854295322b5149738c02bffcb66fcc37' '31a7569d7f3d43846f59e854ec5d1da0' 'fbb786263f2d714b18368ff64779d669' '46ff022e2a2c6139e71399eb19d1aebb' diff --git a/lock b/lock index 23ee9fd..03363db 100755 --- a/lock +++ b/lock @@ -4,7 +4,7 @@ NUMBER_OF_SCREENS="$(xrandr | grep -c '\*')" if [ "$NUMBER_OF_SCREENS" -gt 1 ] then - scrot "lock.png" -e 'mv $f ~/.cache/' + maim ~/.cache/lock.png corrupter ~/.cache/lock.png ~/.cache/lock.png fi