Merge pull request #659 from dylanaraps/revert-658-master

Revert "WM: Add support for Kwm on macOS"
This commit is contained in:
Dylan Araps 2017-02-23 13:55:11 +11:00 committed by GitHub
commit 153c26aa1f

View file

@ -629,10 +629,7 @@ get_wm() {
else
case "$os" in
"Mac OS X")
wm="Quartz Compositor"
ps -e | grep -F -q "kwm" && wm="Kwm"
;;
"Mac OS X") wm="Quartz Compositor" ;;
"Windows")
wm="$(tasklist | grep -m 1 -o -F -e "bugn" -e "Windawesome" -e "blackbox" -e "emerge" -e "litestep")"
[[ "$wm" == "blackbox" ]] && wm="bbLean (Blackbox)"