WM: Fix chunkwm being detected as Kwm on macOS

This commit is contained in:
Andrew Titmuss 2017-10-17 22:47:12 +11:00
parent 03d07f2c62
commit 3217b921e5
No known key found for this signature in database
GPG key ID: 8AF42975C787E0B2

View file

@ -710,8 +710,8 @@ get_wm() {
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hun[k]wm')"
case "$ps_line" in
*"kwm"*) wm="Kwm" ;;
*"chunkwm"*) wm="chunkwm" ;;
*"kwm"*) wm="Kwm" ;;
*"Amethyst"*) wm="Amethyst" ;;
*"Spectacle"*) wm="Spectacle" ;;
*) wm="Quartz Compositor" ;;