wm_theme: Fix bug when no custom theme is set.
This commit is contained in:
parent
35851d92eb
commit
71bd30128b
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue