Changed wallpapers dir to system standard where other packages dump their backgrounds

This commit is contained in:
David Thurstenson 2020-09-10 20:01:29 -05:00
parent 48a61b3f4f
commit 20c762b1ae
2 changed files with 6 additions and 7 deletions

View File

@ -1,12 +1,13 @@
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=greetd-tlgreet
pkgver=0.2
pkgrel=2
pkgver=0.3
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 waybar)
optdepends=(tl-wallpaper archlinux-wallpaper)
source=("greetd.toml"
"sway-wlgreet.conf"
"wlgreet.toml"
@ -14,7 +15,7 @@ source=("greetd.toml"
"waybar.css"
"greetd.service.override.conf")
md5sums=('db675a996223c3f155885d7494b16282'
'947b0d773955b10946d4da82d74f0fc4'
'00f6fd55e5ddb9dd2f4a24d7a0b64a34'
'4c1b6e5dff4071bff81e935322743974'
'bfdda1ad67829fd55d3612c857df18dc'
'0b3156d2868912d8b4141428b72b4bbe'
@ -32,6 +33,4 @@ package() {
do
install -Dm644 ${srcdir}/${i} ${pkgdir}/etc/greetd/tlgreet/${i}
done
install -dm755 ${pkgdir}/etc/greetd/tlgreet/wallpapers/
}

View File

@ -9,7 +9,7 @@
#
# Wallpapers dir
set $wallpapers-path /etc/greetd/tlgreet/wallpapers/
set $wallpapers-path /usr/share/backgrounds/
# Fallback color if no wallpapers exist
set $fallback-color "#333333"
@ -37,7 +37,7 @@ set $waybar-css /etc/greetd/tlgreet/waybar.css
#
# Set the wallpaper to a random file in the wallpapers dir
output * bg `find $wallpapers-path -type f | shuf -n 1` fill $fallback-color
output * bg `find $wallpapers-path -type f -name *.jpg | shuf -n 1` fill $fallback-color
# Touchpad options
input $touchpad {