Add choice of display to --image.

Additionally
  - Made background colors display when an image is enabled if
a --color is specified.
  - Link CJson to swaylock.
  - Add the --socket option to swaylock.
This commit is contained in:
Nuew 2016-03-24 18:02:34 -04:00
parent dcf5c67681
commit 0aa4383c9a
3 changed files with 131 additions and 36 deletions

View file

@ -4,6 +4,7 @@ include_directories(
${CAIRO_INCLUDE_DIRS}
${PANGO_INCLUDE_DIRS}
${PAM_INCLUDE_DIRS}
${JSONC_INCLUDE_DIRS}
)
add_executable(swaylock
@ -18,6 +19,7 @@ target_link_libraries(swaylock
${CAIRO_LIBRARIES}
${PANGO_LIBRARIES}
${PAM_LIBRARIES}
${JSONC_LIBRARIES}
m
)