1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

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

View file

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