Update to use new tl-wallpaper shuffle script
This commit is contained in:
parent
dbd2ad0604
commit
119ab59fdc
8
PKGBUILD
8
PKGBUILD
|
@ -1,13 +1,13 @@
|
|||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||
pkgname=greetd-tlgreet
|
||||
pkgver=0.6
|
||||
pkgver=0.7
|
||||
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)
|
||||
depends=(greetd greetd-wlgreet sway swayidle waybar tl-wallpaper)
|
||||
optdepends=(archlinux-wallpaper)
|
||||
source=("greetd.toml"
|
||||
"sway-wlgreet.conf"
|
||||
"wlgreet.toml"
|
||||
|
@ -15,7 +15,7 @@ source=("greetd.toml"
|
|||
"waybar.css"
|
||||
"greetd.service.override.conf")
|
||||
md5sums=('db675a996223c3f155885d7494b16282'
|
||||
'706fb4f44e3cac99d3d737566426212a'
|
||||
'c49b0b834d84f5282a089abce390fa98'
|
||||
'4c1b6e5dff4071bff81e935322743974'
|
||||
'bfdda1ad67829fd55d3612c857df18dc'
|
||||
'0b3156d2868912d8b4141428b72b4bbe'
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
# Settings
|
||||
#
|
||||
|
||||
# Wallpapers dir
|
||||
set $wallpapers-path /usr/share/backgrounds
|
||||
# Use script to grab a random wallpaper from tl-wallpaper collection
|
||||
set $wallpaper-path $$(/usr/share/backgrounds/thurstylark/tl-wallpaper-shuf.bash)
|
||||
|
||||
# Fallback color if no wallpapers exist
|
||||
set $fallback-color "#333333"
|
||||
|
@ -47,7 +47,7 @@ set $waybar-css /etc/greetd/tlgreet/waybar.css
|
|||
bindsym Mod4+Shift+r exit
|
||||
|
||||
# Set the wallpaper to a random file in the wallpapers dir
|
||||
output * bg $$(find $wallpapers-path -type f \( -iname \*.jpg -o -iname \*.png \) -not -path $wallpapers-path/sway/\* | shuf -n 1) fill $fallback-color
|
||||
output * bg $wallpaper-path fill $fallback-color
|
||||
|
||||
# Touchpad options
|
||||
input $touchpad {
|
||||
|
|
Loading…
Reference in New Issue