Add support for chunkwm (macOS window manager)

This PR adds support for chunkwm - https://github.com/koekeishiya/chunkwm
This commit is contained in:
Dominik Lohmann 2017-07-25 13:56:06 +02:00 committed by GitHub
parent 0a5a741e00
commit 5f39573243

View file

@ -682,10 +682,11 @@ get_wm() {
else
case "$os" in
"Mac OS X")
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm')"
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hunkwm')"
case "$ps_line" in
*"kwm"*) wm="Kwm" ;;
*"chunkwm"*) wm="chunkwm" ;;
*"Amethyst"*) wm="Amethyst" ;;
*"Spectacle"*) wm="Spectacle" ;;
*) wm="Quartz Compositor" ;;