wm_theme: Fix bug when no custom theme is set.
This commit is contained in:
parent
35851d92eb
commit
71bd30128b
2
neofetch
2
neofetch
|
@ -833,6 +833,8 @@ get_wm_theme() {
|
||||||
elif [[ -f "$kdebugrc" ]]; then
|
elif [[ -f "$kdebugrc" ]]; then
|
||||||
wm_theme="$(awk '/(decoration)/ {gsub(/\[/,"",$1); print $1; exit}' "$kdebugrc")"
|
wm_theme="$(awk '/(decoration)/ {gsub(/\[/,"",$1); print $1; exit}' "$kdebugrc")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
wm_theme="${wm_theme/'theme='}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Quartz Compositor")
|
"Quartz Compositor")
|
||||||
|
|
Reference in New Issue