Skip to content

Commit

Permalink
Install wallpapers in DATADIR/backgrounds/sway
Browse files Browse the repository at this point in the history
  • Loading branch information
her001 committed Jun 15, 2017
1 parent 4e663ab commit edaa7e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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*"
)
Expand Down
4 changes: 2 additions & 2 deletions config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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:
#
Expand Down

0 comments on commit edaa7e7

Please sign in to comment.