mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 20:12:31 +00:00
wm_theme: Fix bug when no custom theme is set.
This commit is contained in:
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
Block a user