initial commit
This commit is contained in:
commit
65891e38a9
|
@ -0,0 +1,15 @@
|
|||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||
pkgname=xautolock-systemd
|
||||
pkgver=0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Systemd unit to run 'xautolock -locknow' before suspend"
|
||||
arch=('any')
|
||||
url="https://git.thurstylark.com/xautolock-systemd.git/"
|
||||
license=('GPL')
|
||||
depends=('xautolock')
|
||||
source=("xautolock@.service")
|
||||
md5sums=()
|
||||
|
||||
package() {
|
||||
install -Dm644 ${srcdir}/xautolock@.service ${pkgdir}/etc/systemd/system/xautolock@.service
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Lock screen before suspend
|
||||
Before=sleep.target
|
||||
|
||||
[Service]
|
||||
User=%I
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/xautolock -locknow
|
||||
|
||||
[Install]
|
||||
WantedBy=suspend.target
|
Loading…
Reference in New Issue