greetd-tlgreet/PKGBUILD
David Thurstenson dbd2ad0604 Added restart command as workaround for greetd-wlgreet bug
For some reason, sometimes greetd-wlgreet won't show after the outputs
have been resumed from being turned off via DPMS. This exits sway, which
causes greetd to restart which reinitializes everything, and returning
the login prompt.
2021-06-07 10:40:14 -05:00

37 lines
1.0 KiB
Bash

# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=greetd-tlgreet
pkgver=0.6
pkgrel=1
pkgdesc="Thurstylark's greetd + wlgreet setup"
arch=(any)
url="https://git.thurstylark.com/greetd-tlgreet.git/"
license=('GPL')
depends=(greetd greetd-wlgreet sway swayidle waybar)
optdepends=(tl-wallpaper archlinux-wallpaper)
source=("greetd.toml"
"sway-wlgreet.conf"
"wlgreet.toml"
"waybar.conf"
"waybar.css"
"greetd.service.override.conf")
md5sums=('db675a996223c3f155885d7494b16282'
'706fb4f44e3cac99d3d737566426212a'
'4c1b6e5dff4071bff81e935322743974'
'bfdda1ad67829fd55d3612c857df18dc'
'0b3156d2868912d8b4141428b72b4bbe'
'6ee23a02a919d6a28f36d3627f3c6960')
package() {
install -Dm644 ${srcdir}/greetd.service.override.conf \
${pkgdir}/etc/systemd/system/greetd.service.d/override.conf
for i in \
greetd.toml \
sway-wlgreet.conf \
wlgreet.toml \
waybar.conf \
waybar.css
do
install -Dm644 ${srcdir}/${i} ${pkgdir}/etc/greetd/tlgreet/${i}
done
}