polybar-dwm/cmake/templates/userconfig.cmake.in

8 lines
247 B
CMake
Raw Normal View History

set(USER_CONFIG_HOME $ENV{XDG_CONFIG_HOME})
if(NOT USER_CONFIG_HOME)
set(USER_CONFIG_HOME $ENV{HOME}/.config)
endif()
2016-11-19 05:22:44 +00:00
set(USER_CONFIG_HOME ${USER_CONFIG_HOME}/polybar)
2016-12-23 17:10:19 +00:00
file(INSTALL @CMAKE_SOURCE_DIR@/doc/config DESTINATION ${USER_CONFIG_HOME})