From 9becea4febdaa284aa3f5baac23c83a9abf40f9e Mon Sep 17 00:00:00 2001 From: Jorge Gonzalez Date: Wed, 22 Feb 2017 22:12:48 -0500 Subject: [PATCH] WM: Add support for Kwm on macOS --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 0c13f5e2..12953c31 100755 --- a/neofetch +++ b/neofetch @@ -629,7 +629,10 @@ get_wm() { else case "$os" in - "Mac OS X") wm="Quartz Compositor" ;; + "Mac OS X") + wm="Quartz Compositor" + ps -e | grep -q "[k]wm" && wm="Kwm" + ;; "Windows") wm="$(tasklist | grep -m 1 -o -F -e "bugn" -e "Windawesome" -e "blackbox" -e "emerge" -e "litestep")" [[ "$wm" == "blackbox" ]] && wm="bbLean (Blackbox)"