From 71bd30128be0d565dbef93b6d318cd76076a2a09 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 17 Aug 2017 10:33:51 +1000 Subject: [PATCH] wm_theme: Fix bug when no custom theme is set. --- neofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neofetch b/neofetch index 8619b54f..0d11d3a1 100755 --- a/neofetch +++ b/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")