WM: Add support for Spectacle on macOS

This commit is contained in:
Jorge Gonzalez
2017-02-28 11:36:57 -05:00
parent 1af650eaf1
commit 982f2b59ec

View File

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