mirror of
https://github.com/lbonn/rofi
synced 2024-11-25 13:20:19 +00:00
Small fix for rofi-theme-selector
This commit is contained in:
parent
86b6beb1e9
commit
96b133db82
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue