mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
general: fixed gnome shell mutter issue Closes #1194
This commit is contained in:
4
neofetch
4
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 \
|
||||
|
||||
Reference in New Issue
Block a user