Small fix for rofi-theme-selector

This commit is contained in:
Dave Davenport 2016-10-29 11:13:28 +02:00
parent 86b6beb1e9
commit 96b133db82
1 changed files with 2 additions and 2 deletions

View File

@ -46,12 +46,12 @@ function find_themes()
exit 1;
fi
# Add user dir.
DIRS+="${HOME}/.local/share/"
DIRS+=":${HOME}/.local/share/"
OLDIFS=${IFS}
IFS=:
for p in ${DIRS}; do
TD=${p}rofi/themes/
if [ -d "${TD}" ]
if [ -n "${p}" ] && [ -d "${TD}" ]
then
for file in ${TD}/*.theme
do