Commit 71bd3012 authored by Dylan Araps's avatar Dylan Araps

wm_theme: Fix bug when no custom theme is set.

parent 35851d92
...@@ -833,6 +833,8 @@ get_wm_theme() { ...@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment