1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

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: **rofi-theme-selector** searches the following directories for themes:
* ${PREFIX}/share/rofi/themes * ${PREFIX}/share/rofi/themes
* $XDG_CONFIG_HOME/rofi * $XDG_CONFIG_HOME/rofi/themes
* $XDG_DATA_HOME/share/rofi/themes * $XDG_DATA_HOME/share/rofi/themes
${PREFIX} reflects the install location of rofi. In most cases this will be "/usr".<br> ${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 fi
# Add user dir. # Add user dir.
DIRS+=":${HOME}/.local/share/" DIRS+=":${HOME}/.local/share/"
DIRS+=":${HOME}/.config/"
for p in ${DIRS}; do for p in ${DIRS}; do
p=${p%/} p=${p%/}
TD=${p}/rofi/themes TD=${p}/rofi/themes