1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00
polybar/cmake/templates/userconfig.cmake.in
2016-11-12 13:07:05 +01:00

7 lines
255 B
CMake

set(USER_CONFIG_HOME $ENV{XDG_CONFIG_HOME})
if(NOT USER_CONFIG_HOME)
set(USER_CONFIG_HOME $ENV{HOME}/.config)
endif()
set(USER_CONFIG_HOME ${USER_CONFIG_HOME}/lemonbuddy)
file(INSTALL @CMAKE_SOURCE_DIR@/examples/config DESTINATION ${USER_CONFIG_HOME})