From 1b756083041bdce745c9d515baaaa7d9f639cb88 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 14 Feb 2019 08:19:51 +0200 Subject: [PATCH] general: fixed gnome shell mutter issue Closes #1194 --- neofetch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 60ec9161..04566726 100755 --- a/neofetch +++ b/neofetch @@ -1574,8 +1574,10 @@ get_wm() { wm="${wm/\"*}" fi - # Window Maker does not set _NET_WM_NAME + # Rename window managers to their proper values. [[ "$wm" =~ "WINDOWMAKER" ]] && wm="wmaker" + [[ "$wm" =~ "GNOME Shell" ]] && wm="Mutter" + # Fallback for non-EWMH WMs. [[ -z "$wm" ]] && \ wm="$(ps "${ps_flags[@]}" | grep -m 1 -o -F \