Support PNG wallpapers, exclude sway wallpapers
This commit is contained in:
		
							parent
							
								
									20c762b1ae
								
							
						
					
					
						commit
						13d9fde9f5
					
				
							
								
								
									
										4
									
								
								PKGBUILD
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								PKGBUILD
									
									
									
									
									
								
							@ -1,6 +1,6 @@
 | 
				
			|||||||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
 | 
					# Maintainer: David Thurstenson <thurstylark@gmail.com>
 | 
				
			||||||
pkgname=greetd-tlgreet
 | 
					pkgname=greetd-tlgreet
 | 
				
			||||||
pkgver=0.3
 | 
					pkgver=0.4
 | 
				
			||||||
pkgrel=1
 | 
					pkgrel=1
 | 
				
			||||||
pkgdesc="Thurstylark's greetd + wlgreet setup"
 | 
					pkgdesc="Thurstylark's greetd + wlgreet setup"
 | 
				
			||||||
arch=(any)
 | 
					arch=(any)
 | 
				
			||||||
@ -15,7 +15,7 @@ source=("greetd.toml"
 | 
				
			|||||||
	"waybar.css"
 | 
						"waybar.css"
 | 
				
			||||||
	"greetd.service.override.conf")
 | 
						"greetd.service.override.conf")
 | 
				
			||||||
md5sums=('db675a996223c3f155885d7494b16282'
 | 
					md5sums=('db675a996223c3f155885d7494b16282'
 | 
				
			||||||
         '00f6fd55e5ddb9dd2f4a24d7a0b64a34'
 | 
					         '167d68617d8ef5da0013449e27a4a495'
 | 
				
			||||||
         '4c1b6e5dff4071bff81e935322743974'
 | 
					         '4c1b6e5dff4071bff81e935322743974'
 | 
				
			||||||
         'bfdda1ad67829fd55d3612c857df18dc'
 | 
					         'bfdda1ad67829fd55d3612c857df18dc'
 | 
				
			||||||
         '0b3156d2868912d8b4141428b72b4bbe'
 | 
					         '0b3156d2868912d8b4141428b72b4bbe'
 | 
				
			||||||
 | 
				
			|||||||
@ -9,7 +9,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Wallpapers dir
 | 
					# Wallpapers dir
 | 
				
			||||||
set $wallpapers-path /usr/share/backgrounds/
 | 
					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 -name *.jpg | shuf -n 1` fill $fallback-color
 | 
					output * bg $$(find $wallpapers-path -type f \( -iname \*.jpg -o -iname \*.png \) -not -path $wallpapers-path/sway/\* | shuf -n 1) fill $fallback-color
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Touchpad options
 | 
					# Touchpad options
 | 
				
			||||||
input $touchpad {
 | 
					input $touchpad {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user