Changed wallpapers dir to system standard where other packages dump their backgrounds
This commit is contained in:
parent
48a61b3f4f
commit
20c762b1ae
9
PKGBUILD
9
PKGBUILD
|
@ -1,12 +1,13 @@
|
||||||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||||
pkgname=greetd-tlgreet
|
pkgname=greetd-tlgreet
|
||||||
pkgver=0.2
|
pkgver=0.3
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Thurstylark's greetd + wlgreet setup"
|
pkgdesc="Thurstylark's greetd + wlgreet setup"
|
||||||
arch=(any)
|
arch=(any)
|
||||||
url="https://git.thurstylark.com/greetd-tlgreet.git/"
|
url="https://git.thurstylark.com/greetd-tlgreet.git/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=(greetd greetd-wlgreet sway waybar)
|
depends=(greetd greetd-wlgreet sway waybar)
|
||||||
|
optdepends=(tl-wallpaper archlinux-wallpaper)
|
||||||
source=("greetd.toml"
|
source=("greetd.toml"
|
||||||
"sway-wlgreet.conf"
|
"sway-wlgreet.conf"
|
||||||
"wlgreet.toml"
|
"wlgreet.toml"
|
||||||
|
@ -14,7 +15,7 @@ source=("greetd.toml"
|
||||||
"waybar.css"
|
"waybar.css"
|
||||||
"greetd.service.override.conf")
|
"greetd.service.override.conf")
|
||||||
md5sums=('db675a996223c3f155885d7494b16282'
|
md5sums=('db675a996223c3f155885d7494b16282'
|
||||||
'947b0d773955b10946d4da82d74f0fc4'
|
'00f6fd55e5ddb9dd2f4a24d7a0b64a34'
|
||||||
'4c1b6e5dff4071bff81e935322743974'
|
'4c1b6e5dff4071bff81e935322743974'
|
||||||
'bfdda1ad67829fd55d3612c857df18dc'
|
'bfdda1ad67829fd55d3612c857df18dc'
|
||||||
'0b3156d2868912d8b4141428b72b4bbe'
|
'0b3156d2868912d8b4141428b72b4bbe'
|
||||||
|
@ -32,6 +33,4 @@ package() {
|
||||||
do
|
do
|
||||||
install -Dm644 ${srcdir}/${i} ${pkgdir}/etc/greetd/tlgreet/${i}
|
install -Dm644 ${srcdir}/${i} ${pkgdir}/etc/greetd/tlgreet/${i}
|
||||||
done
|
done
|
||||||
|
|
||||||
install -dm755 ${pkgdir}/etc/greetd/tlgreet/wallpapers/
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# Wallpapers dir
|
# Wallpapers dir
|
||||||
set $wallpapers-path /etc/greetd/tlgreet/wallpapers/
|
set $wallpapers-path /usr/share/backgrounds/
|
||||||
|
|
||||||
# Fallback color if no wallpapers exist
|
# Fallback color if no wallpapers exist
|
||||||
set $fallback-color "#333333"
|
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
|
# 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
|
# Touchpad options
|
||||||
input $touchpad {
|
input $touchpad {
|
||||||
|
|
Loading…
Reference in New Issue