mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
bfaeb71cb8
Fixes #1733
8 lines
255 B
CMake
8 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}/polybar")
|
|
|
|
file(INSTALL "@CMAKE_SOURCE_DIR@/config"
|
|
DESTINATION "${USER_CONFIG_HOME}")
|