From ab9330521be23696c0c3dc93260cfd873e032cf5 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 28 Nov 2016 19:47:06 +0100 Subject: [PATCH] Add explicit / after path element when searching themes. --- script/rofi-theme-selector | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/rofi-theme-selector b/script/rofi-theme-selector index 15320c10..a9041068 100755 --- a/script/rofi-theme-selector +++ b/script/rofi-theme-selector @@ -70,9 +70,10 @@ function find_themes() # Add user dir. DIRS+=":${HOME}/.local/share/" for p in ${DIRS}; do - TD=${p}rofi/themes/ + TD=${p}/rofi/themes/ if [ -n "${p}" ] && [ -d "${TD}" ] then + echo "Checking themes in: ${TD}" for file in ${TD}/*.theme do if [ -f "${file}" ]