Merge pull request #834 from tokamach/master

tiny fix for WM always being detected as Kwm on macOS
This commit is contained in:
Dylan Araps 2017-09-26 08:41:52 +10:00 committed by GitHub
commit 133e7bdc0c

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" ;;