include $XDG_CONGIG_HOME/rofi/themes

This commit is contained in:
Rasmus Steinke 2017-12-10 23:18:20 +01:00
parent 6abc8c920c
commit 2cbbb1606f
2 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ It lets you preview each theme with the Enter key and apply the theme to your
**rofi-theme-selector** searches the following directories for themes:
* ${PREFIX}/share/rofi/themes
* $XDG_CONFIG_HOME/rofi
* $XDG_CONFIG_HOME/rofi/themes
* $XDG_DATA_HOME/share/rofi/themes
${PREFIX} reflects the install location of rofi. In most cases this will be "/usr".<br>

View File

@ -69,6 +69,7 @@ function find_themes()
fi
# Add user dir.
DIRS+=":${HOME}/.local/share/"
DIRS+=":${HOME}/.config/"
for p in ${DIRS}; do
p=${p%/}
TD=${p}/rofi/themes