mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #1238 from her001/backgrounds_dir
Install wallpapers in DATADIR/backgrounds/sway
This commit is contained in:
		
						commit
						cd08e9160e
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -149,7 +149,7 @@ install(
 | 
			
		|||
if(default-wallpaper)
 | 
			
		||||
	install(
 | 
			
		||||
        DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/assets/
 | 
			
		||||
		DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/sway
 | 
			
		||||
		DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/backgrounds/sway
 | 
			
		||||
		COMPONENT data
 | 
			
		||||
        FILES_MATCHING PATTERN "*Wallpaper*"
 | 
			
		||||
		)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,8 +20,8 @@ set $menu dmenu_run
 | 
			
		|||
 | 
			
		||||
### Output configuration
 | 
			
		||||
#
 | 
			
		||||
# Default wallpaper (more resolutions are available in __DATADIR__/sway/)
 | 
			
		||||
output * bg __DATADIR__/sway/Sway_Wallpaper_Blue_1920x1080.png fill
 | 
			
		||||
# Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/)
 | 
			
		||||
output * bg __DATADIR__/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
 | 
			
		||||
#
 | 
			
		||||
# Example configuration:
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue