mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05: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;
|
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
|
||||||
|
|
Loading…
Reference in a new issue