Install wallpapers in DATADIR/backgrounds/sway

master
Andrew Conrad 8 years ago
parent 4e663ab44f
commit edaa7e7119
No known key found for this signature in database
GPG Key ID: BD65AD7D00E11843

@ -149,7 +149,7 @@ install(
if(default-wallpaper) if(default-wallpaper)
install( install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/assets/ DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/assets/
DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/sway DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/backgrounds/sway
COMPONENT data COMPONENT data
FILES_MATCHING PATTERN "*Wallpaper*" FILES_MATCHING PATTERN "*Wallpaper*"
) )

@ -20,8 +20,8 @@ set $menu dmenu_run
### Output configuration ### Output configuration
# #
# Default wallpaper (more resolutions are available in __DATADIR__/sway/) # Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/)
output * bg __DATADIR__/sway/Sway_Wallpaper_Blue_1920x1080.png fill output * bg __DATADIR__/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# #
# Example configuration: # Example configuration:
# #

Loading…
Cancel
Save