tiny fix for WM always being detected as Kwm on macOS

This commit is contained in:
Tom Hutchings 2017-09-25 18:27:35 +01:00
parent fd535da792
commit 5caac4a91a

View file

@ -706,7 +706,7 @@ get_wm() {
else
case "$os" in
"Mac OS X")
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hunkwm')"
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm\|[c]hun[k]wm')"
case "$ps_line" in
*"kwm"*) wm="Kwm" ;;