diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-10-29 11:13:28 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-10-29 11:13:28 +0200 |
commit | 96b133db829795345da300cda8f6e2c7bc0a6add (patch) | |
tree | f3dc551da009e1785be09a75c5d0a22a29a70e07 /script | |
parent | 86b6beb1e9c69f70c0abf96f6515f7651cda06a5 (diff) |
Small fix for rofi-theme-selector
Diffstat (limited to 'script')
-rwxr-xr-x | script/rofi-theme-selector | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/rofi-theme-selector b/script/rofi-theme-selector index 8c50e5a4..c52a5b48 100755 --- a/script/rofi-theme-selector +++ b/script/rofi-theme-selector @@ -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 |