1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/cmake/templates/userconfig.cmake.in

9 lines
273 B
CMake
Raw Normal View History

2017-01-25 17:28:25 -05:00
set(USER_CONFIG_HOME "$ENV{XDG_CONFIG_HOME}")
if(NOT USER_CONFIG_HOME)
2017-01-25 17:28:25 -05:00
set(USER_CONFIG_HOME "$ENV{HOME}/.config")
endif()
2017-01-25 17:28:25 -05:00
set(USER_CONFIG_HOME "${USER_CONFIG_HOME}/polybar")
file(INSTALL "@CMAKE_BINARY_DIR@/generated-sources/config"
2017-01-25 17:28:25 -05:00
DESTINATION "${USER_CONFIG_HOME}")