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
No known key found for this signature in database
GPG Key ID: AD2671B01BB1E086
1 changed files with 1 additions and 0 deletions

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