WM: Add support for Kwm on macOS

parent 153c26aa
......@@ -629,7 +629,10 @@ get_wm() {
else
case "$os" in
"Mac OS X") wm="Quartz Compositor" ;;
"Mac OS X")
wm="Quartz Compositor"
ps -e | grep -q "[k]wm" && wm="Kwm"
;;
"Windows")
wm="$(tasklist | grep -m 1 -o -F -e "bugn" -e "Windawesome" -e "blackbox" -e "emerge" -e "litestep")"
[[ "$wm" == "blackbox" ]] && wm="bbLean (Blackbox)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment