From 177644c18e31f1b0d6de0c193841aa8e9223226d Mon Sep 17 00:00:00 2001 From: Weslly Date: Sun, 23 Jun 2019 14:31:31 -0300 Subject: [PATCH] WM: Add support for yabai on macOS --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index efcac0d2..311838c8 100755 --- a/neofetch +++ b/neofetch @@ -1626,11 +1626,12 @@ get_wm() { else case "$os" in "Mac OS X") - ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hun[k]wm')" + ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hun[k]wm\|[y]abai')" case "$ps_line" in *"chunkwm"*) wm="chunkwm" ;; *"kwm"*) wm="Kwm" ;; + *"yabai"*) wm="yabai" ;; *"Amethyst"*) wm="Amethyst" ;; *"Spectacle"*) wm="Spectacle" ;; *) wm="Quartz Compositor" ;;