wm_theme: Fix bug when no custom theme is set.

This commit is contained in:
Dylan Araps 2017-08-17 10:33:51 +10:00
parent 35851d92eb
commit 71bd30128b
1 changed files with 2 additions and 0 deletions

View File

@ -833,6 +833,8 @@ get_wm_theme() {
elif [[ -f "$kdebugrc" ]]; then
wm_theme="$(awk '/(decoration)/ {gsub(/\[/,"",$1); print $1; exit}' "$kdebugrc")"
fi
wm_theme="${wm_theme/'theme='}"
;;
"Quartz Compositor")