From 982f2b59ec40f8a6747317b9ab97ae2bb9221fd4 Mon Sep 17 00:00:00 2001 From: Jorge Gonzalez Date: Tue, 28 Feb 2017 11:36:57 -0500 Subject: [PATCH 1/2] WM: Add support for Spectacle on macOS --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index 2d649d88..632e1f5d 100755 --- a/neofetch +++ b/neofetch @@ -631,6 +631,7 @@ get_wm() { case "$os" in "Mac OS X") wm="Quartz Compositor" + ps -x | grep -q '[S]pectacle' && wm='Spectacle' ps -e | grep -q "[k]wm" && wm="Kwm" ;; From 072ad5cfff5d12cc47970927198ea059a793d37f Mon Sep 17 00:00:00 2001 From: Jorge Gonzalez Date: Tue, 28 Feb 2017 11:50:23 -0500 Subject: [PATCH 2/2] Fix ps line --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 632e1f5d..9d39edc0 100755 --- a/neofetch +++ b/neofetch @@ -631,7 +631,7 @@ get_wm() { case "$os" in "Mac OS X") wm="Quartz Compositor" - ps -x | grep -q '[S]pectacle' && wm='Spectacle' + ps -e | grep -q '[S]pectacle' && wm='Spectacle' ps -e | grep -q "[k]wm" && wm="Kwm" ;;