Merge pull request #1272 from weslly/patch-1
WM: Add support for yabai on macOS
This commit is contained in:
commit
175915d0a6
3
neofetch
3
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" ;;
|
||||
|
|
Reference in New Issue