mirror of
https://github.com/lbonn/rofi
synced 2024-12-01 16:19:11 +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;
|
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