Skip to content

Commit 20d1dd7

Browse files
deepu105kRHYME7
authored andcommitted
Find symlinked themes (#924)
fix: find themes that are symlinked Co-authored-by: Khing <[email protected]>
1 parent 15794a2 commit 20d1dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configs/.local/lib/hyde/globalcontrol.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ get_themes() {
224224
[ -f "${thmDir}/.sort" ] && thmSortS+=("$(head -1 "${thmDir}/.sort")") || thmSortS+=("0")
225225
thmWallS+=("${realWallPath}")
226226
thmListS+=("${thmDir##*/}") # Use this instead of basename
227-
done < <(find "${HYDE_CONFIG_HOME}/themes" -mindepth 1 -maxdepth 1 -type d)
227+
done < <(find "${HYDE_CONFIG_HOME}/themes" -follow -mindepth 1 -maxdepth 1 -type d)
228228

229229
while IFS='|' read -r sort theme wall; do
230230
thmSort+=("${sort}")

0 commit comments

Comments
 (0)