mirror of
https://github.com/alrayyes/dwm.git
synced 2024-11-22 03:26:23 +00:00
added screen lock script
This commit is contained in:
parent
a0a69750bb
commit
2a7acdf12d
2 changed files with 8 additions and 0 deletions
5
PKGBUILD
5
PKGBUILD
|
@ -31,11 +31,13 @@ _patches=(
|
||||||
source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
||||||
config.h
|
config.h
|
||||||
dwm.desktop
|
dwm.desktop
|
||||||
|
lock
|
||||||
"${_patches[@]}")
|
"${_patches[@]}")
|
||||||
|
|
||||||
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
||||||
'72c7f3101262b13b337621d9a5a21936'
|
'72c7f3101262b13b337621d9a5a21936'
|
||||||
'939f403a71b6e85261d09fc3412269ee'
|
'939f403a71b6e85261d09fc3412269ee'
|
||||||
|
'8444c7d7bfca2b3ec5b5f686d7661867'
|
||||||
'31a7569d7f3d43846f59e854ec5d1da0'
|
'31a7569d7f3d43846f59e854ec5d1da0'
|
||||||
'fbb786263f2d714b18368ff64779d669'
|
'fbb786263f2d714b18368ff64779d669'
|
||||||
'c75af619c04cfae7b9740ec140d1dc6c'
|
'c75af619c04cfae7b9740ec140d1dc6c'
|
||||||
|
@ -72,4 +74,7 @@ package() {
|
||||||
install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||||
install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
|
install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
|
||||||
install -m644 -D $srcdir/dwm.desktop $pkgdir/usr/share/xsessions/dwm.desktop
|
install -m644 -D $srcdir/dwm.desktop $pkgdir/usr/share/xsessions/dwm.desktop
|
||||||
|
|
||||||
|
cd ../
|
||||||
|
install -Dm0755 lock "${pkgdir}/usr/bin/lock"
|
||||||
}
|
}
|
||||||
|
|
3
lock
Executable file
3
lock
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
i3lock -e -b -f -i ~/.cache/lock.png
|
Loading…
Reference in a new issue