mirror of
https://github.com/alrayyes/dwm
synced 2023-11-14 15:56:31 +00:00
Use maim instead of scrot
This commit is contained in:
parent
8aaa26ce1a
commit
8a0b469ede
4
PKGBUILD
4
PKGBUILD
@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
|
|||||||
license=('MIT')
|
license=('MIT')
|
||||||
options=(zipman)
|
options=(zipman)
|
||||||
depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu')
|
depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu')
|
||||||
optdepends=('corrupter')
|
optdepends=('corrupter' 'maim' 'i3lock')
|
||||||
install=dwm.install
|
install=dwm.install
|
||||||
|
|
||||||
_patches=(
|
_patches=(
|
||||||
@ -36,7 +36,7 @@ source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
|||||||
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
||||||
'dda4ab6363b58a3b8e2cacf7166b6f74'
|
'dda4ab6363b58a3b8e2cacf7166b6f74'
|
||||||
'939f403a71b6e85261d09fc3412269ee'
|
'939f403a71b6e85261d09fc3412269ee'
|
||||||
'10bd3378b4b4aa7a2e4ed8685cea1be6'
|
'854295322b5149738c02bffcb66fcc37'
|
||||||
'31a7569d7f3d43846f59e854ec5d1da0'
|
'31a7569d7f3d43846f59e854ec5d1da0'
|
||||||
'fbb786263f2d714b18368ff64779d669'
|
'fbb786263f2d714b18368ff64779d669'
|
||||||
'46ff022e2a2c6139e71399eb19d1aebb'
|
'46ff022e2a2c6139e71399eb19d1aebb'
|
||||||
|
2
lock
2
lock
@ -4,7 +4,7 @@ NUMBER_OF_SCREENS="$(xrandr | grep -c '\*')"
|
|||||||
|
|
||||||
if [ "$NUMBER_OF_SCREENS" -gt 1 ]
|
if [ "$NUMBER_OF_SCREENS" -gt 1 ]
|
||||||
then
|
then
|
||||||
scrot "lock.png" -e 'mv $f ~/.cache/'
|
maim ~/.cache/lock.png
|
||||||
corrupter ~/.cache/lock.png ~/.cache/lock.png
|
corrupter ~/.cache/lock.png ~/.cache/lock.png
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user