WM: Add support for Spectacle on macOS

parent 1af650ea
...@@ -631,6 +631,7 @@ get_wm() { ...@@ -631,6 +631,7 @@ get_wm() {
case "$os" in case "$os" in
"Mac OS X") "Mac OS X")
wm="Quartz Compositor" wm="Quartz Compositor"
ps -x | grep -q '[S]pectacle' && wm='Spectacle'
ps -e | grep -q "[k]wm" && wm="Kwm" ps -e | grep -q "[k]wm" && wm="Kwm"
;; ;;
......
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