Add Unsplash as wallpaper source
This commit is contained in:
		
							parent
							
								
									e2d707ad80
								
							
						
					
					
						commit
						501a8cd164
					
				| @ -5,4 +5,5 @@ pacstrap /mnt i3 feh xcompmgr dmenu acpi | |||||||
| 
 | 
 | ||||||
| echo "~> Creating .xinitrc" | echo "~> Creating .xinitrc" | ||||||
| echo "xcompmgr -c &" > /mnt/home/*/.xinitrc | echo "xcompmgr -c &" > /mnt/home/*/.xinitrc | ||||||
|  | echo "feh --bg-fill ~/background.jpg" >> /mnt/home/*/.xinitrc | ||||||
| echo "exec i3" >> /mnt/home/*/.xinitrc | echo "exec i3" >> /mnt/home/*/.xinitrc | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								flavours/unsplash.flavour/install.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								flavours/unsplash.flavour/install.sh
									
									
									
									
									
										Executable file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | #!/bin/sh | ||||||
|  | 
 | ||||||
|  | echo "~> Grabbing a random image from unsplash.com..." | ||||||
|  | 
 | ||||||
|  | wget https://unsplash.com/photos/$(curl https://unsplash.com/search/photos/forest | grep -oE "photo=([a-zA-Z0-9_\\-]*)" | shuf -n 1 | sed -e "s/photo=//g")/download -o /mnt/home/*/background.jpg | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user